diff options
author | Omar Zeidan <[email protected]> | 2018-01-01 21:42:21 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-02 09:28:57 +0100 |
commit | 52701a81d82cd89525ed883cb046f11f384c8d6c (patch) | |
tree | 537500a670c78528fcc88187a398be960a426189 /src/include/all-keybindings.h | |
parent | 709fe3eb2f8987ffc598ecbece4997acdf51cdca (diff) | |
download | marco-52701a81d82cd89525ed883cb046f11f384c8d6c.tar.bz2 marco-52701a81d82cd89525ed883cb046f11f384c8d6c.tar.xz |
More elegant solution for handling new move-to-workspace keybinds
Diffstat (limited to 'src/include/all-keybindings.h')
-rw-r--r-- | src/include/all-keybindings.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/all-keybindings.h b/src/include/all-keybindings.h index 924a8e66..2cba3df2 100644 --- a/src/include/all-keybindings.h +++ b/src/include/all-keybindings.h @@ -111,6 +111,15 @@ keybind (switch-to-workspace-up, handle_switch_to_workspace, keybind (switch-to-workspace-down, handle_switch_to_workspace, META_MOTION_DOWN, 0) +keybind (move-to-workspace-left, handle_move_to_workspace, + META_MOTION_LEFT, BINDING_PER_WINDOW) +keybind (move-to-workspace-right, handle_move_to_workspace, + META_MOTION_RIGHT, BINDING_PER_WINDOW) +keybind (move-to-workspace-up, handle_move_to_workspace, + META_MOTION_UP, BINDING_PER_WINDOW) +keybind (move-to-workspace-down, handle_move_to_workspace, + META_MOTION_DOWN, BINDING_PER_WINDOW) + /***********************************/ /* The ones which have inverses. These can't be bound to any keystroke @@ -234,15 +243,6 @@ keybind (move-to-workspace-12, handle_move_to_workspace, 11, BINDING_PER_WINDOW) * workspace.h, of course. */ -keybind (move-to-workspace-left, handle_move_to_workspace, - META_MOTION_LEFT, BINDING_PER_WINDOW) -keybind (move-to-workspace-right, handle_move_to_workspace, - META_MOTION_RIGHT, BINDING_PER_WINDOW) -keybind (move-to-workspace-up, handle_move_to_workspace, - META_MOTION_UP, BINDING_PER_WINDOW) -keybind (move-to-workspace-down, handle_move_to_workspace, - META_MOTION_DOWN, BINDING_PER_WINDOW) - keybind (raise-or-lower, handle_raise_or_lower, 0, BINDING_PER_WINDOW) keybind (raise, handle_raise, 0, BINDING_PER_WINDOW) keybind (lower, handle_lower, 0, BINDING_PER_WINDOW) |