mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 13:04:11 +01:00
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.
This commit is contained in:
parent
a4096b73c9
commit
4344fe5011
@ -226,7 +226,7 @@ static void handle_output_focused(wlc_handle output, bool focus) {
|
|||||||
handle_output_created(output);
|
handle_output_created(output);
|
||||||
}
|
}
|
||||||
if (focus) {
|
if (focus) {
|
||||||
set_focused_container(c);
|
set_focused_container(get_focused_container(c));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user