diff options
-rw-r--r-- | types/wlr_virtual_keyboard_v1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/types/wlr_virtual_keyboard_v1.c b/types/wlr_virtual_keyboard_v1.c index fd0d7797..ddd38880 100644 --- a/types/wlr_virtual_keyboard_v1.c +++ b/types/wlr_virtual_keyboard_v1.c @@ -75,6 +75,9 @@ context_fail: static void virtual_keyboard_key(struct wl_client *client, struct wl_resource *resource, uint32_t time, uint32_t key, uint32_t state) { + if (key == 0) { + return; + } struct wlr_virtual_keyboard_v1 *keyboard = virtual_keyboard_from_resource(resource); if (!keyboard->has_keymap) { |