Commit Graph

7 Commits

Author SHA1 Message Date
Tor Hedin Brønner
39c129f4ad Implement stand alone resize grab 2020-01-17 22:24:39 +01:00
Tor Hedin Brønner
de60a6195d Handle workspaces-only-primary minimally 2020-01-17 22:24:39 +01:00
Tor Hedin Brønner
acbe3e76f1 keyboard move: go straight to dnd
This makes it possible to activate dnd with the keyboard. Which also
means scratch windows are dnd'able.
2020-01-17 22:23:38 +01:00
Tor Hedin Brønner
487f331058 Do not end grab until inGrab.end has run
This gives us better control in inGrab.end
2020-01-17 22:23:13 +01:00
Ole Jørgen Brønner
1e4449b476 Better initial tiling preview
Let the tiling preview zone inherit from the window when dnd starts.
2020-01-17 22:22:13 +01:00
Tor Hedin Brønner
162f1a6d92 ugly: center and increase detection on empty spaces 2020-01-17 22:21:55 +01:00
Ole Jørgen Brønner
acb112bc02 Implement window drag and drop
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.
2020-01-17 22:15:54 +01:00