summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-08-18 20:11:49 +0000
committersabetts <sabetts>2001-08-18 20:11:49 +0000
commitbd72362cf682c093fe84802b6c08b67f6f9d819e (patch)
tree4ec3cee8a08ff482d3bc355cfd44615516b26958 /src/manage.c
parent0e8dcd222996415bfa403b8e385e441c24375339 (diff)
downloadratpoison-bd72362cf682c093fe84802b6c08b67f6f9d819e.zip
window flicker problems fixed
Diffstat (limited to 'src/manage.c')
-rw-r--r--src/manage.c6
1 files changed, 5 insertions, 1 deletions
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);
}