mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
fixed some more bugs, moved layout_log into log.ch, restored focus_parent
This commit is contained in:
parent
e16a4015ff
commit
c5a6982893
7 changed files with 70 additions and 63 deletions
|
|
@ -146,6 +146,9 @@ void set_focused_container(swayc_t *c) {
|
|||
// update container focus from here to root, making necessary changes along
|
||||
// the way
|
||||
swayc_t *p = c;
|
||||
if (p->type != C_OUTPUT && p->type != C_ROOT) {
|
||||
p->is_focused = true;
|
||||
}
|
||||
while (p != &root_container) {
|
||||
update_focus(p);
|
||||
p = p->parent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue