]> git.mdlowis.com Git - proto/labwc.git/commitdiff
keyboard: Fix handled check
authorJoshua Ashton <joshua@froggi.es>
Mon, 1 Nov 2021 21:59:07 +0000 (21:59 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 1 Nov 2021 22:14:17 +0000 (22:14 +0000)
Signed-off-by: Joshua Ashton <joshua@froggi.es>
src/keyboard.c

index 1be8d7a05d88aee7f158608d0f0f403b8a87fb12..f91602253d6c113bfb311c3c56c9f532daaec17e 100644 (file)
@@ -130,7 +130,7 @@ handle_compositor_keybindings(struct wl_listener *listener,
        /* Handle compositor key bindings */
        if (event->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
                for (int i = 0; i < nsyms; i++) {
-                       handled = handle_keybinding(server, modifiers, syms[i]);
+                       handled |= handle_keybinding(server, modifiers, syms[i]);
                }
        }