4 static void window_show(d_window_t *w);
5 static void window_hide(d_window_t *w);
8 window_new(xcb_window_t id, struct d_screen *sc)
12 w = g_new(d_window_t, 1);
17 /* default functions */
18 w->show = window_show;
19 w->hide = window_hide;
25 window_ref(d_window_t *w)
31 window_unref(d_window_t *w)
33 if (w && --w->ref == 0) {
39 window_show(d_window_t *w)
44 window_hide(d_window_t *w)