mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
more changes
This commit is contained in:
parent
4606fb1ee3
commit
63bc0d3b54
5 changed files with 19 additions and 13 deletions
|
|
@ -135,7 +135,7 @@ void set_focused_container(swayc_t *c) {
|
|||
if (!locked_view_focus) {
|
||||
p = get_focused_view(c);
|
||||
//Set focus to p
|
||||
if (p && p != prev_view && !(wlc_view_get_type(p->handle) & WLC_BIT_POPUP)) {
|
||||
if (p && !(wlc_view_get_type(p->handle) & WLC_BIT_POPUP)) {
|
||||
if (prev_view) {
|
||||
wlc_view_set_state(prev_view->handle, WLC_BIT_ACTIVATED, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue