diff options
author | emersion <[email protected]> | 2018-06-05 08:44:53 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2018-06-05 08:44:53 +0100 |
commit | 6b9ffbad20995d322748bebc4ea43cbffb070381 (patch) | |
tree | e8c45627ec1d38d88349160aa04d53f4e4432525 /sway/input/cursor.c | |
parent | e410757fe8f1eaa1883a60ac93b96f35d36ae938 (diff) | |
parent | 1206a6097711556b22418db5043dc7c22d8b9a3e (diff) |
Merge pull request #2103 from RyanDwyer/focus-fixes
Focus fixes
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 16e5427b..d6e17ae1 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -264,7 +264,7 @@ void dispatch_cursor_button(struct sway_cursor *cursor, if (new_ws != old_ws) { seat_set_focus(cursor->seat, cont); } - } else { + } else if (cont) { seat_set_focus(cursor->seat, cont); } |