mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
clutter-backend-x11: Don't push keymap events to clutter
Xkb events should be handled by clutter backend but they are not translated into an actual clutter event. However we're now handling them and also trying to push an empty event to clutter queue, causing a critical error. So in such case, just handle the native event but don't push the non-populated clutter-event to the queue. Fixes https://gitlab.gnome.org/GNOME/mutter/issues/750 https://gitlab.gnome.org/GNOME/mutter/merge_requests/764
This commit is contained in:
parent
9234fcb624
commit
446bd04b6c
@ -129,7 +129,7 @@ meta_clutter_backend_x11_translate_event (ClutterBackend *backend,
|
||||
return TRUE;
|
||||
|
||||
if (meta_keymap_x11_handle_event (backend_x11->keymap, native))
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
|
||||
stage_x11 = META_STAGE_X11 (clutter_backend_get_stage_window (backend));
|
||||
if (meta_stage_x11_translate_event (stage_x11, native, event))
|
||||
|
Loading…
Reference in New Issue
Block a user