windows are added and created on create/destroy/reparent
[dana/dcompmgr.git] / window.h
index 5b0d9ae..e03623b 100644 (file)
--- a/window.h
+++ b/window.h
@@ -9,6 +9,9 @@ typedef struct d_window {
     xcb_window_t     id;
     int              ref;
     struct d_screen *sc;
+
+    void (*show)(struct d_window *w);
+    void (*hide)(struct d_window *w);
 } d_window_t;
 
 d_window_t* window_new(xcb_window_t id, struct d_screen *sc);
@@ -16,4 +19,5 @@ d_window_t* window_new(xcb_window_t id, struct d_screen *sc);
 void window_ref(d_window_t *w);
 void window_unref(d_window_t *w);
 
+
 #endif