the annoyance of having this popup constantly triggered while a window is visible
cannot be understated.
{
if (!(ev->property & E_CLIENT_PROPERTY_URGENCY)) return ECORE_CALLBACK_RENEW;
- if (pager_config->popup_urgent && (pager_config->popup_urgent_focus ||
+ if (pager_config->popup_urgent && (!e_client_util_desk_visible(ev->ec, e_desk_current_get(ev->ec->zone))) &&
+ (pager_config->popup_urgent_focus ||
(!pager_config->popup_urgent_focus && (!ev->ec->focused) && (!ev->ec->want_focus))))
{
Pager_Popup *pp;
zone = ev->ec->zone;
urgent = ev->ec->urgent || ev->ec->icccm.urgent;
- if (pager_config->popup_urgent && (pager_config->popup_urgent_focus ||
+ if (pager_config->popup_urgent && (!e_client_util_desk_visible(ev->ec, e_desk_current_get(ev->ec->zone))) &&
+ (pager_config->popup_urgent_focus ||
((!pager_config->popup_urgent_focus) && (!ev->ec->focused) && (!ev->ec->want_focus))))
{
pp = _pager_popup_find(zone);