aboutsummaryrefslogtreecommitdiff
path: root/tty-keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty-keys.c')
-rw-r--r--tty-keys.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tty-keys.c b/tty-keys.c
index 5a2b3817..bbd4bb5f 100644
--- a/tty-keys.c
+++ b/tty-keys.c
@@ -800,13 +800,10 @@ complete_key:
tty->flags &= ~TTY_TIMER;
/* Check for focus events. */
- if (key == KEYC_FOCUS_OUT) {
+ if (key == KEYC_FOCUS_OUT)
tty->client->flags &= ~CLIENT_FOCUSED;
- return (1);
- } else if (key == KEYC_FOCUS_IN) {
+ else if (key == KEYC_FOCUS_IN)
tty->client->flags |= CLIENT_FOCUSED;
- return (1);
- }
/* Fire the key. */
if (key != KEYC_UNKNOWN) {