Merge pull request #697 from martinetd/xwm_values

xwm: fix call of xcb_change_window_attributes for old gcc versions
This commit is contained in:
emersion 2018-03-01 21:44:52 +01:00 committed by GitHub
commit 3d176fcd1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ static struct wlr_xwayland_surface *wlr_xwayland_surface_create(
XCB_EVENT_MASK_FOCUS_CHANGE | XCB_EVENT_MASK_FOCUS_CHANGE |
XCB_EVENT_MASK_PROPERTY_CHANGE; XCB_EVENT_MASK_PROPERTY_CHANGE;
xcb_change_window_attributes(xwm->xcb_conn, window_id, xcb_change_window_attributes(xwm->xcb_conn, window_id,
XCB_CW_EVENT_MASK, &values); XCB_CW_EVENT_MASK, values);
surface->xwm = xwm; surface->xwm = xwm;
surface->window_id = window_id; surface->window_id = window_id;