From bd72362cf682c093fe84802b6c08b67f6f9d819e Mon Sep 17 00:00:00 2001 From: sabetts Date: Sat, 18 Aug 2001 20:11:49 +0000 Subject: window flicker problems fixed --- src/manage.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/manage.c') diff --git a/src/manage.c b/src/manage.c index 434f698..c1113d9 100644 --- a/src/manage.c +++ b/src/manage.c @@ -523,9 +523,13 @@ void unhide_below_window (rp_window *win) { if (win == NULL) return; - if (win->state != IconicState) return; + /* Always lower the window, but if its not iconic we don't need to + map it since it already is mapped. */ XLowerWindow (dpy, win->w); + + if (win->state != IconicState) return; + XMapWindow (dpy, win->w); set_state (win, NormalState); } -- cgit v1.2.3