mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-04 23:38:01 +02:00
libeis: don't treat it as bug when the client doesn't send a keymap
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
ab386f3cdb
commit
787a664b5a
1 changed files with 3 additions and 0 deletions
|
|
@ -209,6 +209,9 @@ eis_device_set_client_keymap(struct eis_device *device,
|
|||
return;
|
||||
}
|
||||
|
||||
if (type == 0 && keymap_fd == -1)
|
||||
return;
|
||||
|
||||
_unref_(eis_keymap) *keymap =
|
||||
eis_keymap_new(type, keymap_fd, size);
|
||||
if (!keymap) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue