diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2012-01-15 16:15:05 +0000 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-01-15 16:15:05 +0000 |
commit | 406fa5e2c43eb6ee6f91daf3f9a30e44f2310c54 (patch) | |
tree | cad6c2c189f4012c13f6b15b07b1f839be1281c6 /xcb.c | |
parent | f368bbd0068f1389e62b605872dab84e163cf99c (diff) |
Bugfix: Copy the color depth from parent (root) window instead of hardcoding to 24 (Thanks hafron)
Diffstat (limited to 'xcb.c')
-rw-r--r-- | xcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |