Hiding the top bar doesn't change the workarea, at least in 3.34.
Having scale_y = 0 does change the workarea. In other words animating
the top bar means the workarea doesn't change immediately.
This can cause trouble when going from fullscreen to maximized, as the
workarea won't be updated early enough, giving the maximized window the
full monitor.
The animation isn't really that useful, so removing it is a viable fix.
In the case of user hidden top bar we still need to update the workare,
so we update the scale directly.
Also make the hideTopbar logic somewhat readable.
closes#220
Wrapping around is quite disorienting, and it's pretty quick to go
through all by holding down page up/down.
We should also remap super+home/end back to first/last workspace.
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.