summaryrefslogtreecommitdiff
path: root/src/frame.h
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/frame.h
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/frame.h')
-rw-r--r--src/frame.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 6194bb0..f2e1e4b 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -36,4 +36,7 @@ int frame_right (rp_window_frame *frame);
int frame_top (rp_window_frame *frame);
int frame_left (rp_window_frame *frame);
+rp_window_frame *frame_new (screen_info *s);
+void frame_free (screen_info *s, rp_window_frame *f);
+
#endif