summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-08-19 16:02:25 +0000
committersabetts <sabetts>2001-08-19 16:02:25 +0000
commit0051fb43b7b468621d7826a9dfa54bac147c9a92 (patch)
tree8d7cb6da5f656fdc6a0320d596a5d5e998775b0e /src/events.c
parent42f7ded762267cf4a94e1aef2368b21864969b2d (diff)
downloadratpoison-0051fb43b7b468621d7826a9dfa54bac147c9a92.zip
window switching flicker bug fixed
Diffstat (limited to 'src/events.c')
-rw-r--r--src/events.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/events.c b/src/events.c
index 29a43f5..16739f9 100644
--- a/src/events.c
+++ b/src/events.c
@@ -66,6 +66,10 @@ cleanup_frame (rp_window_frame *frame)
win = find_window_other ();
if (win)
{
+ maximize (win);
+ unhide_transient_for (win);
+ unhide_window (win);
+
if (is_transient_ancestor (frame->win, win))
{
hide_transient_for_between (frame->win, win);
@@ -76,10 +80,6 @@ cleanup_frame (rp_window_frame *frame)
}
frame->win = win;
-
- maximize (frame->win);
- unhide_transient_for (frame->win);
- unhide_window (frame->win);
}
else
{