diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2019-03-28 11:58:35 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2019-03-28 12:03:00 +0100 |
commit | 34ee46022e467fda89a781dd07f90061a42d984d (patch) | |
tree | b60d35fa8c4e6ec6cbc8d0b98ffc7812b78b377e | |
parent | ee507d9ab2b2f277447976c3f5ddc55375fef1eb (diff) | |
download | mutter-34ee46022e467fda89a781dd07f90061a42d984d.tar.gz |
clutter: Fix check for keyboard a11y features
The typo was actually toggling the feature on for those who had it
disabled.
Closes: https://gitlab.gnome.org/GNOME/mutter/issues/529
-rw-r--r-- | clutter/clutter/evdev/clutter-input-device-evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter/evdev/clutter-input-device-evdev.c b/clutter/clutter/evdev/clutter-input-device-evdev.c index 25a8139a2..b52689e80 100644 --- a/clutter/clutter/evdev/clutter-input-device-evdev.c +++ b/clutter/clutter/evdev/clutter-input-device-evdev.c @@ -1132,7 +1132,7 @@ clutter_input_device_evdev_process_kbd_a11y_event (ClutterEvent *e if (event->key.flags & CLUTTER_EVENT_FLAG_INPUT_METHOD) goto emit_event; - if (!device_evdev->a11y_flags & CLUTTER_A11Y_KEYBOARD_ENABLED) + if (!(device_evdev->a11y_flags & CLUTTER_A11Y_KEYBOARD_ENABLED)) goto emit_event; if (event->type == CLUTTER_KEY_PRESS) |