mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
xwm: fix call of xcb_change_window_attributes for old gcc versions
gcc 6.3.0 (at least) complains about &values:
expected ‘const uint32_t * {aka const unsigned int *}’ but argument
is of type ‘uint32_t (*)[1] {aka unsigned int (*)[1]}’
Reported by thorwil on irc
This commit is contained in:
parent
0820557c8c
commit
5ec06dcecd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue