[cogl] winsys-egl: fix typo in _cogl_winsys_onscreen_init



commit 4b6169267ca39764a3ce267e8c8064ca5818247c
Author: Robert Bragg <robert linux intel com>
Date:   Tue May 10 16:22:34 2011 +0100

    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.

 cogl/winsys/cogl-winsys-egl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/winsys/cogl-winsys-egl.c b/cogl/winsys/cogl-winsys-egl.c
index 22fd611..6719f5d 100644
--- a/cogl/winsys/cogl-winsys-egl.c
+++ b/cogl/winsys/cogl-winsys-egl.c
@@ -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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]