mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
Merge pull request #815 from acrisci/bug/focus-container-on-op-change
bugfix: focus container on output when focused
This commit is contained in:
commit
18602367f1
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue