-
Committer:
Carlos R. Mafra
-
Author(s):
Gaspar Chilingarov
-
Date:
2018-12-16 10:13:50 UTC
-
Revision ID:
git-v1:8b919b0d33fed60da715588582e4b7b1126f5e72
support moving window between heads using keyboard
Window Maker allows to perform practically all operations with windows
using only keyboard. One of the actions so far which required using
mouse was dragging window from one head (monitor) to another.
This patch introduces support for keyboard shortcuts. These shortcuts
move windows in circular fashion (if you have 3 and more monitors).
In case of 2 or 3 monitors arranged horizontally - window will just move
right/left.
In case of 3x3 setup - it is impossible to move window to central
monitor with keyboard.
- preserves window position and size (if display sizes are same)
- otherwise tries to fit window to smaller display