summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/split.c b/src/split.c
index 26231c7..62da8e7 100644
--- a/src/split.c
+++ b/src/split.c
@@ -82,14 +82,7 @@ cleanup_frame (rp_frame *frame)
unhide_window (win);
-#ifdef MAXSIZE_WINDOWS_ARE_TRANSIENTS
- if (!win->transient
- && !(win->hints->flags & PMaxSize
- && (win->hints->max_width < win->scr->width
- || win->hints->max_height < win->scr->height)))
-#else
- if (!win->transient)
-#endif
+ if (!window_is_transient (win))
hide_others (win);
}