cogl-backend-egl: Chain up to the X11 backend init_events

Since c6493885c3 when building the EGL backend for eglx there was
no fallback in the init_events implementation so the X11 backend init
function would never get called. This was stopping it from receiving
any X events so a lot of things broke. It now just chains up.
This commit is contained in:
Neil Roberts 2010-12-07 23:32:47 +00:00
parent b0751d2342
commit ca7dc2f951

View File

@ -550,6 +550,11 @@ clutter_backend_egl_init_events (ClutterBackend *backend)
#ifdef HAVE_EVDEV
_clutter_events_evdev_init (CLUTTER_BACKEND (backend));
#endif
#ifdef COGL_HAS_X11_SUPPORT
/* Chain up to the X11 backend */
CLUTTER_BACKEND_CLASS (_clutter_backend_egl_parent_class)->
init_events (backend);
#endif
}
static void