summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-09-27 01:09:08 +0000
committersabetts <sabetts>2006-09-27 01:09:08 +0000
commitfc4344fc907b464444c415d7df05225417076137 (patch)
tree099713075519b8dd77aa73ae62dd5a2a2ff9ebc0 /src
parentb80a2d14bf72a4758eca46156a7c3ad606473bb7 (diff)
downloadratpoison-fc4344fc907b464444c415d7df05225417076137.zip
(initialize_default_keybindings): bind "swap" to C-t x and C-t C-x
Diffstat (limited to 'src')
-rw-r--r--src/actions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index 87991fb..4a0b8f3 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -752,6 +752,8 @@ initialize_default_keybindings (void)
add_keybinding (XK_u, 0, "undo", map);
add_keybinding (XK_u, RP_CONTROL_MASK, "undo", map);
add_keybinding (XK_U, 0, "redo", map);
+ add_keybinding (XK_x, 0, "swap", map);
+ add_keybinding (XK_x, RP_CONTROL_MASK, "swap", map);
add_alias ("unbind", "undefinekey " ROOT_KEYMAP);
add_alias ("bind", "definekey " ROOT_KEYMAP);