only preserve focus for normal omnipresent windows
This commit is contained in:
parent
40f20e93ca
commit
de76611e8a
1 changed files with 2 additions and 1 deletions
|
@ -533,7 +533,8 @@ void screen_set_desktop(guint num, gboolean dofocus)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (focus_client && (focus_client->desktop == DESKTOP_ALL ||
|
if (focus_client && ((client_normal(focus_client) &&
|
||||||
|
focus_client->desktop == DESKTOP_ALL) ||
|
||||||
focus_client->desktop == screen_desktop))
|
focus_client->desktop == screen_desktop))
|
||||||
dofocus = FALSE;
|
dofocus = FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue