You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way for Quicktile to respond to multiple keys, beside the modifier keys? Like tiling a window to top-left when modifier keys + up + left keys are pressed?
The text was updated successfully, but these errors were encountered:
Probably not currently. I don't think the underlying XGrabKeyAPI allows claiming combinations containing more than one non-modifier key.
However, it IS theoretically possible. You'd want to:
XGrabKey both modifier keys + up and modifier keys + left when QuickTile starts.
When either is pressed, call XGrabKeyboard like a screen-locker would.
If the last key in the chord is pressed, make a note of it so it can be acted on.
No matter what happens, call XUngrabKeyboard as soon as a single key press/release event has occurred.
...or, if you want to support Emacs-style non-chorded sequences like xbindkey does, only call XUngrabKeyboard for key press events, so releasing the first chord doesn't release the grab.
Is there any way for Quicktile to respond to multiple keys, beside the modifier keys? Like tiling a window to top-left when
modifier keys
+up
+left
keys are pressed?The text was updated successfully, but these errors were encountered: