summaryrefslogtreecommitdiff
path: root/desktop-shell
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2015-07-17 20:58:02 -0500
committerBryce Harrington <bryce@osg.samsung.com>2015-07-17 18:59:35 -0700
commitdaf846e4ea475ad25ba06e59041ced1b8b9bad49 (patch)
treea8d896b682bb44c34e395fe0b80780efcf98e488 /desktop-shell
parent6b557a70474286dbc9eb4c0301caa4b6098b532e (diff)
downloadweston-daf846e4ea475ad25ba06e59041ced1b8b9bad49.tar.gz
exposay: Fix logic inversion when ending keyboard grabs
I flipped a ! in cee82d62865ab5b239935f102c2e1f7868e0fa65 and the exposay keyboard grab became permanent. Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Diffstat (limited to 'desktop-shell')
-rw-r--r--desktop-shell/exposay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-shell/exposay.c b/desktop-shell/exposay.c
index 3fa585a5..190dd0c0 100644
--- a/desktop-shell/exposay.c
+++ b/desktop-shell/exposay.c
@@ -523,7 +523,7 @@ exposay_set_inactive(struct desktop_shell *shell)
if (seat->pointer_device_count)
weston_pointer_end_grab(seat->pointer);
- if (!seat->keyboard_device_count) {
+ if (seat->keyboard_device_count) {
weston_keyboard_end_grab(seat->keyboard);
if (seat->keyboard->input_method_resource)
seat->keyboard->grab = &seat->keyboard->input_method_grab;