ignore all non-NORMAL type wl windows in e_place

this catches subsurfaces, drags, and popups, which were erroneously being
handled like obstacles during placement
This commit is contained in:
Mike Blumenkrantz 2017-02-10 17:23:44 -05:00
parent 8f3c9dd796
commit 4e1cbab3ff
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ ignore_client(const E_Client *ec, const Eina_List *skiplist)
if (eina_list_data_find(skiplist, ec)) return EINA_TRUE;
if (e_client_util_ignored_get(ec)) return EINA_TRUE;
if (!evas_object_visible_get(ec->frame)) return EINA_TRUE;
if ((!e_client_has_xwindow(ec)) && (ec->netwm.type != E_WINDOW_TYPE_NORMAL)) return EINA_TRUE;
return EINA_FALSE;
}