It's now possible to rearrange windows with the mouse:
Dragging the window up, or down, will scale its size gradually down.
When below a certain threshold it will pop out of the tiling leaving the
user free to attach it at any tiling edge.
If not dropped onto a tiling edge it will end up as a scratch/float window.
Running two layouts after each other on wayland can cause the second
resize to be lost.
So avoid doing an automatic layout on addWindow giving the calling code
better control of the subsequent layout.
It's possible for floating windows to appear on a monitor inhabited by
another workspace.
So always force floating windows onto the correct monitor.
ref #226
The monkey patched code in kludges wouldn't run on enable after eg.
unlocking as kludges.enable() happens after tiling.enable(). This left
us with too few workspaces.
This reverts commit 1c5779116b.
Not entirely sure what's up here, but this triggers infinite recursion when
eg. opening the color picker from paperwm prefs.
fixes#200
When finishing sequential navigation the selected space will be correctly
animated into place. The other spaces will stand still however, which is
especially noticable if a neighboring space is above the newly selected space.
Make use of _animateToSpaceOrdered to finish sequential navigation to fix this.
(references to gnome-shell commits/merge-requsts)
22b6a09c (!815 (merged)) removed WindowManager._removeEffect, but didn't remove
all its uses as it was made on top of b6d47c18. So when cherry picked some code
paths in 3.34 still relied on _removeEffect.
Simply monkey patch around the problem...
When using `workspaces-only-on-primary` it's possible to trigger insertWindow
from `window-added` instead of `window-created`, leaving insertWindow thinking
the window is `existing`.
Simply use `metaWindow.unmapped` to figure out if a window is newly created or
not.
If a user updates the extension without restarting gnome-shell we risk
re-reading the updated schema file without using the updated code (typically
after locking the screen (disable/enable cycle))
related-to: #190