diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-08-06 12:01:24 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-08-06 12:01:24 +0100 |
commit | 33e332428c41408cc51ade69c9cbf1994dbab431 (patch) | |
tree | a771e45f1b6b582ebcab089cf2226e60446a58bd /tty-keys.c | |
parent | 4bccff95566c64ae99935b74a603203a1530a360 (diff) | |
parent | 24cd6851f6a4e0152f59d22bf446e553cd7f23f9 (diff) | |
download | rtmux-33e332428c41408cc51ade69c9cbf1994dbab431.tar.gz rtmux-33e332428c41408cc51ade69c9cbf1994dbab431.tar.bz2 rtmux-33e332428c41408cc51ade69c9cbf1994dbab431.zip |
Merge branch 'obsd-master' into master
Diffstat (limited to 'tty-keys.c')
-rw-r--r-- | tty-keys.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -820,10 +820,13 @@ 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; - else if (key == KEYC_FOCUS_IN) + notify_client("client-focus-out", c); + } else if (key == KEYC_FOCUS_IN) { tty->client->flags |= CLIENT_FOCUSED; + notify_client("client-focus-in", c); + } /* Fire the key. */ if (key != KEYC_UNKNOWN) { |