mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-13 08:01:23 +00:00
xwayland/ei: Handle EI_EVENT_KEYBOARD_MODIFIERS
Although we do not do anything with that event, handle it so we don't end up in the "Unhandled event" territory. Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1722 Fixes:a133334270- xwayland: Add XTEST support using EIS Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1620> (cherry picked from commitbfabd3bdab)
This commit is contained in:
committed by
Alan Coopersmith
parent
6d7eaaf6e1
commit
816d4f0030
@@ -852,6 +852,10 @@ xwl_handle_ei_event(int fd, int ready, void *data)
|
||||
/* All events dequeued and client has disconnected in the meantime */
|
||||
xwl_ei_stop_emulating(xwl_ei_client);
|
||||
break;
|
||||
case EI_EVENT_KEYBOARD_MODIFIERS:
|
||||
debug_ei("Ignored event %s (%d)\n", ei_event_type_to_string(type), type);
|
||||
/* Don't care */
|
||||
break;
|
||||
default:
|
||||
error_ei("Unhandled event %d\n", type);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user