mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-16 01:30:29 +01: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:
parent
6d7eaaf6e1
commit
816d4f0030
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue