draw the root pixmap with the gl renderer, and honor windows restacking when they...
[dana/dcompmgr.git] / dcompmgr.c
index 0c7ecc9..fc18efe 100644 (file)
@@ -184,9 +184,9 @@ event(d_display_t *dpy)
                 }
             }
             above = screen_find_window(sc, cev->above_sibling);
+            sc->window_restack(w, above);
             if (window_is_mapped(w))
-                sc->window_restack(w, above);
-            screen_refresh(w->sc);
+                screen_refresh(w->sc);
             break;
         }
         case XCB_PROPERTY_NOTIFY: