aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-01 21:44:52 +0100
committerGitHub <noreply@github.com>2018-03-01 21:44:52 +0100
commit3d176fcd1aee1edd09ade2000f3703bd784c1443 (patch)
tree8c62f9186909f60eb83eed3eebb80cb9e09b58ec /xwayland
parent0820557c8c13dabb3f598bbfe71a8a6b459f78b8 (diff)
parent5ec06dcecd2b81fc5a3a668072e1b4d9b656515e (diff)
Merge pull request #697 from martinetd/xwm_values
xwm: fix call of xcb_change_window_attributes for old gcc versions
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index c41b8d47..d9899c57 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -93,7 +93,7 @@ static struct wlr_xwayland_surface *wlr_xwayland_surface_create(
XCB_EVENT_MASK_FOCUS_CHANGE |
XCB_EVENT_MASK_PROPERTY_CHANGE;
xcb_change_window_attributes(xwm->xcb_conn, window_id,
- XCB_CW_EVENT_MASK, &values);
+ XCB_CW_EVENT_MASK, values);
surface->xwm = xwm;
surface->window_id = window_id;