diff options
author | Christopher Jeffrey <[email protected]> | 2012-09-07 11:51:08 -0500 |
---|---|---|
committer | Christopher Jeffrey <[email protected]> | 2012-09-07 11:51:08 -0500 |
commit | c10cd64f1fb6fc083b81981b561824b5da5275f4 (patch) | |
tree | 84127bc898be26f5db687ea3322cb306357f6654 /compton.c | |
parent | b42eee1ef38d77b3e8dee33af3a961854e2d050a (diff) | |
download | tdebase-c10cd64f1fb6fc083b81981b561824b5da5275f4.tar.gz tdebase-c10cd64f1fb6fc083b81981b561824b5da5275f4.zip |
apply patch from richardgv. fixes #5.
Diffstat (limited to 'compton.c')
-rw-r--r-- | compton.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1712,7 +1712,10 @@ configure_win(Display *dpy, XConfigureEvent *ce) { /* save the configure event for when the window maps */ w->need_configure = True; w->queue_configure = *ce; + restack_win(dpy, w, ce->above); } else { + if (!(w->need_configure)) + restack_win(dpy, w, ce->above); w->need_configure = False; #if CAN_DO_USABLE @@ -1760,7 +1763,6 @@ configure_win(Display *dpy, XConfigureEvent *ce) { } w->a.override_redirect = ce->override_redirect; - restack_win(dpy, w, ce->above); } static void |