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:
Robert Bragg 2011-05-10 16:22:34 +01:00
parent ef60979258
commit 4b6169267c

View File

@ -964,7 +964,7 @@ _cogl_winsys_onscreen_init (CoglOnscreen *onscreen,
DefaultRootWindow (xlib_renderer->xdpy), DefaultRootWindow (xlib_renderer->xdpy),
xvisinfo->visual, xvisinfo->visual,
AllocNone); AllocNone);
attr.event_mask = COGL_ONSCREEN_X11_EVENT_MASK; xattr.event_mask = COGL_ONSCREEN_X11_EVENT_MASK;
mask = CWBorderPixel | CWColormap | CWEventMask; mask = CWBorderPixel | CWColormap | CWEventMask;