mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 07:38:22 +02:00
evdev: Synchronize keys only if seat is keyboard capable
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
47f1043877
commit
e82f8e4b0f
1 changed files with 1 additions and 1 deletions
|
|
@ -691,7 +691,7 @@ evdev_notify_keyboard_focus(struct weston_seat *seat,
|
|||
uint32_t *k;
|
||||
int ret;
|
||||
|
||||
if (!seat->keyboard)
|
||||
if (!seat->keyboard_device_count > 0)
|
||||
return;
|
||||
|
||||
memset(all_keys, 0, sizeof all_keys);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue