fixed floating_modifier related things

This commit is contained in:
taiyu 2015-08-18 23:52:42 -07:00
parent 6dc1ae802b
commit 1bf02144e5
3 changed files with 41 additions and 14 deletions

View file

@ -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);
}
}
}
}