add windows to the stacking order when they are created, and allow zombie windows...
[dana/dcompmgr.git] / dcompmgr.c
index 2c1c50c..6b8417a 100644 (file)
@@ -130,7 +130,7 @@ main(int argc, char **argv)
             sc = display_screen_from_root(dpy, mev->event);
             if (!sc) break;
             w = screen_find_window(sc, mev->window);
-            window_show(w);
+            w->show(w);
             break;
         }
         case XCB_UNMAP_NOTIFY:
@@ -143,7 +143,7 @@ main(int argc, char **argv)
             sc = display_screen_from_root(dpy, mev->event);
             if (!sc) break;
             w = screen_find_window(sc, mev->window);
-            window_hide(w);
+            w->hide(w);
             break;
         }
         default: