more changes

This commit is contained in:
taiyu 2015-08-18 02:46:14 -07:00
parent 4606fb1ee3
commit 63bc0d3b54
5 changed files with 19 additions and 13 deletions

View file

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