block dynamic creation of comp wins for root windows and their parents. my confusion is palpable.

This commit is contained in:
Mike Blumenkrantz 2013-05-22 13:24:03 +01:00
parent b6024ca722
commit 74f33f1ed2
1 changed files with 2 additions and 0 deletions

View File

@ -2989,6 +2989,8 @@ _e_comp_show(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
E_Manager *man;
int x, w;
/* block root window and parents */
if (ev->win <= ev->event_win) return ECORE_CALLBACK_RENEW;
man = e_manager_find_by_root(ev->event_win);
if (!man) return ECORE_CALLBACK_RENEW;
cw = _e_comp_win_add(man->comp, ev->win, NULL, 1);