commit 406fa5e2c43eb6ee6f91daf3f9a30e44f2310c54
parent f368bbd0068f1389e62b605872dab84e163cf99c
Author: Michael Stapelberg <michael@stapelberg.de>
Date: Sun, 15 Jan 2012 16:15:05 +0000
Bugfix: Copy the color depth from parent (root) window instead of hardcoding to 24 (Thanks hafron)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,