summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-03-18 03:56:57 +0000
committersabetts <sabetts>2003-03-18 03:56:57 +0000
commit7e2c4ccc01fbaf3ea93aa3963ba6cc2e9f5ce163 (patch)
tree412bb53a1b4aeaf9b6c60a8c6c116988b4c0fd0a /src/actions.c
parentd9712b14bec0317663b9464108d8155152e41cad (diff)
downloadratpoison-7e2c4ccc01fbaf3ea93aa3963ba6cc2e9f5ce163.zip
* src/actions.c (initialize_default_keybindings): add keybindings
for fselect and resize. Move keybinding for curframe. * src/split.c (create_initial_frame): call frame_new to allocate a frame. (split_frame): likewise * src/main.c (free_screen): call frame_free to free the screen frames. * src/frame.h (frame_new): new prototype (frame_free): likewise * src/frame.c (frame_new): new function. (frame_free): likewise
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c
index cfce0aa..82fac46 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -340,8 +340,11 @@ initialize_default_keybindings (void)
add_keybinding (XK_Tab, RP_META_MASK, "focuslast");
add_keybinding (XK_Q, 0, "only");
add_keybinding (XK_R, 0, "remove");
- add_keybinding (XK_f, 0, "curframe");
- add_keybinding (XK_f, RP_CONTROL_MASK, "curframe");
+ add_keybinding (XK_f, 0, "fselect");
+ add_keybinding (XK_f, RP_CONTROL_MASK, "fselect");
+ add_keybinding (XK_F, 0, "curframe");
+ add_keybinding (XK_r, 0, "resize");
+ add_keybinding (XK_r, RP_CONTROL_MASK, "resize");
add_keybinding (XK_question, 0, "help");
}