use elm_win_fake() to create a fake elm_win for widget parenting/focus

ugh
This commit is contained in:
Mike Blumenkrantz 2015-01-11 12:20:32 -05:00
parent 7e3558383d
commit 06895e4036
2 changed files with 3 additions and 0 deletions

View File

@ -1061,6 +1061,8 @@ e_comp_init(void)
#endif
if (!e_comp) return EINA_FALSE;
out:
e_comp->elm = elm_win_fake(e_comp->ee);
evas_object_show(e_comp->elm);
e_util_env_set("HYBRIS_EGLPLATFORM", NULL);
E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_ON, _e_comp_screensaver_on, NULL);
E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_OFF, _e_comp_screensaver_off, NULL);

View File

@ -62,6 +62,7 @@ struct _E_Comp
Ecore_Window win; // input overlay
Ecore_Evas *ee;
Ecore_Window ee_win;
Evas_Object *elm;
Evas *evas;
Evas_Object *bg_blank_object;
Eina_List *zones;