winsys-egl: fix typo in _cogl_winsys_onscreen_init
We were trying to set attr.event_mask instead of xattr.event mask which was causing a compilation error.
This commit is contained in:
parent
ef60979258
commit
4b6169267c
@ -964,7 +964,7 @@ _cogl_winsys_onscreen_init (CoglOnscreen *onscreen,
|
||||
DefaultRootWindow (xlib_renderer->xdpy),
|
||||
xvisinfo->visual,
|
||||
AllocNone);
|
||||
attr.event_mask = COGL_ONSCREEN_X11_EVENT_MASK;
|
||||
xattr.event_mask = COGL_ONSCREEN_X11_EVENT_MASK;
|
||||
|
||||
mask = CWBorderPixel | CWColormap | CWEventMask;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user