From: Michael Stapelberg Date: Sun, 15 Jan 2012 16:15:05 +0000 (+0000) Subject: Bugfix: Copy the color depth from parent (root) window instead of hardcoding to 24... X-Git-Tag: 2.3~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=406fa5e2c43eb6ee6f91daf3f9a30e44f2310c54;p=i3%2Fi3lock Bugfix: Copy the color depth from parent (root) window instead of hardcoding to 24 (Thanks hafron) --- diff --git a/xcb.c b/xcb.c index da2f937..a247763 100644 --- a/xcb.c +++ b/xcb.c @@ -122,7 +122,7 @@ xcb_window_t open_fullscreen_window(xcb_connection_t *conn, xcb_screen_t *scr, c XCB_EVENT_MASK_STRUCTURE_NOTIFY; xcb_create_window(conn, - 24, + XCB_COPY_FROM_PARENT, win, /* the window id */ scr->root, /* parent == root */ 0, 0,