From: Dana Jansens Date: Tue, 4 Mar 2008 22:45:24 +0000 (-0500) Subject: renaming X-Git-Url: http://git.openbox.org/?p=dana%2Fdcompmgr.git;a=commitdiff_plain;h=5ab8113cd0234629dc2fc43e5cc6e7bf8c82e3ce;hp=153c8638b8fd402e0b8a9518d39a394eb84da1ed renaming --- diff --git a/screen.c b/screen.c index 775d277..e2fdaaf 100644 --- a/screen.c +++ b/screen.c @@ -79,10 +79,10 @@ screen_register(struct d_display *dpy, int num, d_screen_t *sc) } 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) @@ -126,8 +126,8 @@ 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;