Use 32bit visual only when needed. Thus we could drop the --enable-32bit-visual option.
This commit is contained in:
committed by
Michael Stapelberg
parent
95f510e724
commit
9d68d780e2
@ -149,6 +149,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
|
||||
|
||||
i3Window *cwindow = scalloc(sizeof(i3Window));
|
||||
cwindow->id = window;
|
||||
cwindow->depth = get_visual_depth(attr->visual);
|
||||
|
||||
/* We need to grab the mouse buttons for click to focus */
|
||||
xcb_grab_button(conn, false, window, XCB_EVENT_MASK_BUTTON_PRESS,
|
||||
|
Reference in New Issue
Block a user