diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-03-30 00:13:39 +0200 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-03-30 00:47:58 +0200 |
commit | 7878de5ccc223baa609770e04efa151f5b99b16d (patch) | |
tree | 1cf3b666738bf704ed3df36c6833771f77f3f9e0 /sway/focus.c | |
parent | Handle swaybar using sway font (diff) | |
download | sway-7878de5ccc223baa609770e04efa151f5b99b16d.tar.gz sway-7878de5ccc223baa609770e04efa151f5b99b16d.tar.zst sway-7878de5ccc223baa609770e04efa151f5b99b16d.zip |
Mark focused view focus_inactive on unfocused output
Diffstat (limited to 'sway/focus.c')
-rw-r--r-- | sway/focus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/focus.c b/sway/focus.c index 4cae3b47..0c9719b0 100644 --- a/sway/focus.c +++ b/sway/focus.c | |||
@@ -29,6 +29,8 @@ static void update_focus(swayc_t *c) { | |||
29 | 29 | ||
30 | // Case where output changes | 30 | // Case where output changes |
31 | case C_OUTPUT: | 31 | case C_OUTPUT: |
32 | // update borders for views in prev | ||
33 | container_map(prev, map_update_view_border, NULL); | ||
32 | wlc_output_focus(c->handle); | 34 | wlc_output_focus(c->handle); |
33 | break; | 35 | break; |
34 | 36 | ||