Post 9hpOfitzIntJzRDYAa by measlytwerp@fosstodon.org
(DIR) More posts by measlytwerp@fosstodon.org
(DIR) Post #9hpOfitzIntJzRDYAa by measlytwerp@fosstodon.org
2019-04-15T04:46:21Z
0 likes, 0 repeats
It's surprisingly easy to write bad algorithms for detecting when windows are aligned and grouped and should be resized together.
(DIR) Post #9hpOfjAIKAw2o0qZaS by measlytwerp@fosstodon.org
2019-04-15T08:28:59Z
0 likes, 1 repeats
Finally! I made it work. Windows do not know that they belong in a group, it's all calculated based on their current position handled entirely by a plugin.Try it yourself (in Chrome, Firefox will be dog slow due to missing OffscreenCanvas 2d support): https://measlytwerp.github.io/html5-canvas-windowing/index.htmlI reckon that the algorithm might be workable as a Gnome Shell extension, depends on how much control over things we're allowed.