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>
This commit is contained in:
parent
0df31f068d
commit
1bf4d60acd
|
@ -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…
Reference in New Issue