diff --git a/clutter/egl/clutter-backend-egl.c b/clutter/egl/clutter-backend-egl.c index 5f120fc9a..c70e331ef 100644 --- a/clutter/egl/clutter-backend-egl.c +++ b/clutter/egl/clutter-backend-egl.c @@ -750,6 +750,7 @@ clutter_backend_egl_create_stage (ClutterBackend *backend, { #ifdef COGL_HAS_XLIB_SUPPORT ClutterBackendX11 *backend_x11 = CLUTTER_BACKEND_X11 (backend); + ClutterEventTranslator *translator; ClutterStageWindow *stage; ClutterStageX11 *stage_x11; @@ -762,6 +763,9 @@ clutter_backend_egl_create_stage (ClutterBackend *backend, stage_x11 = CLUTTER_STAGE_X11 (stage); stage_x11->wrapper = wrapper; + translator = CLUTTER_EVENT_TRANSLATOR (stage_x11); + _clutter_backend_x11_add_event_translator (backend_x11, translator); + CLUTTER_NOTE (MISC, "EGLX stage created (display:%p, screen:%d, root:%u)", backend_x11->xdpy, backend_x11->xscreen_num,