summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-08-23 06:48:24 +0000
committersabetts <sabetts>2003-08-23 06:48:24 +0000
commit59ad37223522bb0168b10a85cc891ecb59c30f4c (patch)
treec6d20345d4bd21337a595442590ac450201338ec /src/split.c
parente8d4782f9666d4355718b2c00ef53c464f676da3 (diff)
downloadratpoison-59ad37223522bb0168b10a85cc891ecb59c30f4c.zip
* src/split.c (remove_all_splits): only hide the windows in the
current screen. * src/group.h (group_delete_group): new prototype * src/group.c (group_last_window): find the last window in the current screen. (group_next_window): find next window in current screen. (group_prev_window): find previous window in current screen. * src/manage.c (force_maximize): call XSync() after first resize. * src/globals.h (GROUP_DELETE_GROUP_OK): new define (GROUP_DELETE_GROUP_NONEMPTY): likewise * src/actions.h (cmd_gdelete): new prototype * src/actions.c (user_commands): new command gdelete (cmd_gdelete): new command
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c
index c0405af..3345523 100644
--- a/src/split.c
+++ b/src/split.c
@@ -384,7 +384,7 @@ remove_all_splits ()
/* Hide all the windows not in the current frame. */
list_for_each_entry (win, &rp_mapped_window, node)
{
- if (win->frame_number != s->current_frame)
+ if (win->frame_number != s->current_frame && win->scr == s)
hide_window (win);
}