summaryrefslogtreecommitdiff
path: root/src/context.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-12-23 01:12:51 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-12-23 16:58:42 -0800
commit3161db573424a554b536aaa492397341b84683ce (patch)
tree1f72d7aa908dbb484bb8907b17bf493f551e2b85 /src/context.c
parenta6998186a3546f9f871e2cab3e994c782bd98a98 (diff)
*: introduce and use direction parameter
This adds a direction parameter to vwm_desktop_next{_mru}() and vwm_win_focus_next(), deprecating _prev() variants in favor of a vwm_direction_t parameter. XK_r has been wired up as a modifier for reversing the direction of actions like Mod1+Tab (window next MRU cycle) and Mod1+Space (desktop next MRU cycle). So now if you overshoot, simply hold the "r" key and repeat the operation to go back, much like how Shift is often used for reversing alt+tab in i.e. Windows.
Diffstat (limited to 'src/context.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved