Browse Source

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

master
Michael Stapelberg 14 years ago
parent
commit
406fa5e2c4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      xcb.c

+ 1
- 1
xcb.c View File

@ -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