aboutsummaryrefslogtreecommitdiff
path: root/src/key.c
AgeCommit message (Collapse)Author
2021-07-26Don't keep menu open after release unless arrow keys are setJohn Ankarström
I am personally partial to this Mac-like behavior, as it avoids introducing a modality to the user interface, which is almost always annoying. If menus are kept open after button release, then the user is left in a different mode than earlier, in which key presses are not sent to the active window, but to the active menu. This is sometimes useful, but more often than not annoying.
2021-07-19Change function declaration styleJohn Ankarström
This is a very sweeping change, but I feel that it is necessary.
2021-06-29Handle modifiers when window switchingJohn Ankarström
Before this patch, releasing Shift would end the switch, even if the Shift key was part of the prevstacked key binding. This patch fixes that. It ranks the modifiers, so that Shift can act as an "alternate" modifier for all modifiers, Alt for all keys but Shift, Ctrl for all keys but Alt and Shift and so forth. The Hyper key cannot act as an "alternate" modifier for any modifier. It is a bit complex, but hopefully intuitive.
2021-06-07Add 'put#' actionJohn Ankarström
I wanted to call it layer#, but it (rather silently, apart from the crashing...) conflicted with something else.
2021-05-30Add 'sendto#' actionJohn Ankarstr\xf6m
2021-05-29Add 'raise' actionJohn Ankarstr\xf6m
2021-05-29Implement 'prev' and 'prevstacked' actionsJohn Ankarstr\xf6m
2021-05-29First commitJohn Ankarstr\xf6m
This is the original state of the released tarball for JWM 1.8, which will serve as my starting point for further modifications.