aboutsummaryrefslogtreecommitdiffstats
path: root/xutil.c
diff options
context:
space:
mode:
authorkn@openbsd.org2021-04-22 10:02:55 +0000
committerWolfgang Müller2021-04-27 12:28:09 +0200
commit98fbcf04228072947b418237c03776756f78c860 (patch)
tree7c7b0892fe1c33ce547be36cd7bdc8e7f1d3295b /xutil.c
parent1fd2fe716484cde85f4942921795018399b60bf4 (diff)
downloadcwm-98fbcf04228072947b418237c03776756f78c860.tar.gz
Keep pointer within window on maximize/fullscreen toggle
Spawn a window, maximize it in any way, move the cursor to a window border that is not on the screen's edge and unmaximize again: While the window goes back the cursor stays at the screen's edge, i.e. focus is lost to the underlaying window. Moving, resizing, tiling or snapping windows in any way always moves the cursor along iff needed, e.g. using MS-[hjkl] to move a small window from the center to the edge keeps the cursor within window borders -- no matter what you do with the keyboard, focus stays on that window. Make CM-f, CM-m, CM-equal and CMS-equal (default bindings) for toggling full-screen mode, maximization, vertical maximization and horizontal maximization of the current window drag the cursor along if needed as well. OK okan kmos dv
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions