}
static guint
-window_hash(xcb_window_t *w) { return *w; }
+xcb_window_hash(xcb_window_t *w) { return *w; }
static gboolean
-window_compare(xcb_window_t *w1, xcb_window_t *w2) { return *w1 == *w2; }
+xcb_window_compare(xcb_window_t *w1, xcb_window_t *w2) { return *w1 == *w2; }
static gboolean
screen_init(d_screen_t *sc)
xcb_change_window_attributes(sc->dpy->conn, sc->super.root,
XCB_CW_EVENT_MASK, &mask);
- sc->winhash = g_hash_table_new((GHashFunc)window_hash,
- (GCompareFunc)window_compare);
+ sc->winhash = g_hash_table_new((GHashFunc)xcb_window_hash,
+ (GCompareFunc)xcb_window_compare);
sc->stacking = list_new();
return TRUE;