mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
fixed floating_modifier related things
This commit is contained in:
parent
6dc1ae802b
commit
1bf02144e5
3 changed files with 41 additions and 14 deletions
|
|
@ -168,8 +168,11 @@ void set_focused_container(swayc_t *c) {
|
|||
}
|
||||
// activate current focus
|
||||
if (p->type == C_VIEW) {
|
||||
wlc_view_focus(p->handle);
|
||||
wlc_view_set_state(p->handle, WLC_BIT_ACTIVATED, true);
|
||||
//set focus if view_focus is unlocked
|
||||
if (!locked_view_focus) {
|
||||
wlc_view_focus(p->handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue