summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c
index 053ef5b..d81f385 100644
--- a/src/split.c
+++ b/src/split.c
@@ -223,6 +223,7 @@ split_frame (rp_window_frame *frame, int way)
maximize (win);
unhide_window (win);
+ unhide_transient_for (win);
XRaiseWindow (dpy, win->w);
}
else
@@ -268,7 +269,11 @@ remove_all_splits ()
{
cur = rp_window_frame_sentinel->next;
delete_frame_from_list (cur);
- if (cur != rp_current_frame) hide_window (cur->win);
+ if (cur != rp_current_frame)
+ {
+ hide_window (cur->win);
+ hide_transient_for (cur->win);
+ }
free (cur);
}