summaryrefslogtreecommitdiff
path: root/src/main.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/main.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/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index ce854b0..ed89e3a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -709,7 +709,7 @@ free_screen (screen_info *s)
list_for_each_safe_entry (frame, iter, tmp, &s->rp_window_frames, node)
{
- free (frame);
+ frame_free (s, frame);
}
XDestroyWindow (dpy, s->bar_window);