Browse Source

Bugfix: Copy the color depth from parent (root) window instead of hardcoding to 24 (Thanks hafron)

master
Michael Stapelberg 13 years ago
parent
commit
406fa5e2c4
  1. 2
      xcb.c

2
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_EVENT_MASK_STRUCTURE_NOTIFY;
xcb_create_window(conn, xcb_create_window(conn,
24, XCB_COPY_FROM_PARENT,
win, /* the window id */ win, /* the window id */
scr->root, /* parent == root */ scr->root, /* parent == root */
0, 0, 0, 0,

Loading…
Cancel
Save