mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue