summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-03-18 04:07:09 +0000
committersabetts <sabetts>2003-03-18 04:07:09 +0000
commit6de1d7895d11250810988e7a7622cbaffbf9346f (patch)
treee8dc4ea782d3aaba686bdc8d40c25b6f69847443 /src/split.c
parent7e2c4ccc01fbaf3ea93aa3963ba6cc2e9f5ce163 (diff)
downloadratpoison-6de1d7895d11250810988e7a7622cbaffbf9346f.zip
mess up
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/split.c b/src/split.c
index 29cb1a9..b357f69 100644
--- a/src/split.c
+++ b/src/split.c
@@ -989,29 +989,3 @@ find_frame_number (screen_info *s, int num)
return NULL;
}
-/* Frame split tree code. */
-
-rp_frame_split *
-find_frame_parent (screen_info *s, rp_window_frame *frame)
-{
- return find_frame_parent_helper (s->split_tree, frame);
-}
-
-rp_frame_split *
-find_frame_parent_helper (rp_frame_split *split, rp_window_frame *frame)
-{
- rp_frame_split *cur;
-
- if (split->frame == frame)
- return split;
-
- /* Look for the frame in each child. If find_frame_parent_helper
- returns not NULL, then we found it. */
- list_for_each_entry (cur, &split->children, node)
- {
- if (find_frame_parent_helper (cur, frame);)
- return split;
- }
-
- return NULL;
-}