fix comp fake layer init for wl compositors

fix T2363
This commit is contained in:
Mike Blumenkrantz 2015-04-24 14:10:25 -04:00
parent a080769d5a
commit 3e50235e5b
3 changed files with 3 additions and 3 deletions

View File

@ -1069,6 +1069,8 @@ e_comp_init(void)
//#endif
if (!e_comp) return EINA_FALSE;
out:
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
e_comp_canvas_fake_layers_init();
e_comp->elm = elm_win_fake_add(e_comp->ee);
elm_win_fullscreen_set(e_comp->elm, 1);
evas_object_show(e_comp->elm);

View File

@ -234,9 +234,6 @@ e_comp_canvas_init(int w, int h)
E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_ON, _e_comp_cb_screensaver_on, NULL);
E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_OFF, _e_comp_cb_screensaver_off, NULL);
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
e_comp_canvas_fake_layers_init();
return EINA_TRUE;
}

View File

@ -9,6 +9,7 @@ static Eina_Bool _e_focus_raise_timer(void *data);
EAPI void
e_focus_event_mouse_in(E_Client *ec)
{
if ((e_config->focus_policy == E_FOCUS_MOUSE) ||
(e_config->focus_policy == E_FOCUS_SLOPPY))
{