diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2016-08-01 23:56:34 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2016-08-01 23:56:34 -0400 |
| commit | e7c12b29004fc084d89ed7c4a8863ef1a7e58147 (patch) | |
| tree | 9c62deeb1b43e35bce0a86fdaeec4d7fa392ea07 | |
| parent | 591c5278b6a843f8936961bd755d2a92c4b7ac34 (diff) | |
bugfix: focus container on output when focused
Focus the container on the output (not the output itself) when an output is
focused.
This is intended to fix a bug where borders are not updated correctly when
switching the vt away/back to sway.
| -rw-r--r-- | sway/handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 80692371..6d35f8a2 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -226,7 +226,7 @@ static void handle_output_focused(wlc_handle output, bool focus) { handle_output_created(output); } if (focus) { - set_focused_container(c); + set_focused_container(get_focused_container(c)); } } |
