when an omnipresent window has focus and you switch desktops, keep it focused
This commit is contained in:
parent
83d987d9ab
commit
091e296a3d
1 changed files with 5 additions and 0 deletions
|
@ -233,6 +233,11 @@ ObClient* focus_fallback_target(gboolean allow_refocus, ObClient *old)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
ob_debug("trying omnipresentness\n");
|
||||||
|
if (old && old->desktop == DESKTOP_ALL)
|
||||||
|
return old;
|
||||||
|
|
||||||
|
|
||||||
ob_debug("trying the focus order\n");
|
ob_debug("trying the focus order\n");
|
||||||
for (it = focus_order; it; it = g_list_next(it))
|
for (it = focus_order; it; it = g_list_next(it))
|
||||||
if (allow_refocus || it->data != old) {
|
if (allow_refocus || it->data != old) {
|
||||||
|
|
Loading…
Reference in a new issue