mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-02 14:40:09 +01:00
xwayland: Pass the correct oeffis device types
Xwayland uses OEFFIS_DEVICE_ALL_DEVICES to get all possible device types
enabled.
Be more selective and specify explicitly keyboard and pointer instead of
relying on what "all devices" translates to in the stack.
See-also: https://gitlab.gnome.org/GNOME/mutter/-/issues/3194
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
(cherry picked from commit 1bf4d60acd)
This commit is contained in:
parent
d1176c1457
commit
630da5cb17
1 changed files with 2 additions and 1 deletions
|
|
@ -300,7 +300,8 @@ setup_oeffis(struct xwl_ei_client *xwl_ei_client)
|
|||
SetNotifyFd(xwl_ei_client->oeffis_fd, xwl_handle_oeffis_event,
|
||||
X_NOTIFY_READ, xwl_ei_client);
|
||||
|
||||
oeffis_create_session(xwl_ei_client->oeffis, OEFFIS_DEVICE_ALL_DEVICES);
|
||||
oeffis_create_session(xwl_ei_client->oeffis,
|
||||
OEFFIS_DEVICE_KEYBOARD | OEFFIS_DEVICE_POINTER);
|
||||
|
||||
return true;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue