summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-02-10 17:23:44 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-02-10 17:24:13 -0500
commit4e1cbab3ff22924292b055440ce834439fe33385 (patch)
tree6b6e8a048d7bee21066cd14c29f2cf266c7bf60d
parent8f3c9dd796576e00fe2ddf2878b8655d9e69e4e1 (diff)
downloadenlightenment-4e1cbab3ff22924292b055440ce834439fe33385.tar.gz
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
-rw-r--r--src/bin/e_place.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_place.c b/src/bin/e_place.c
index 5809b6f701..4c73594a4b 100644
--- a/src/bin/e_place.c
+++ b/src/bin/e_place.c
@@ -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;
}