resize comp canvas on e_comp_canvas_init()

remove unnecessary call in wl drm output module
This commit is contained in:
Mike Blumenkrantz 2015-04-22 19:16:32 -04:00
parent 05d87a9b30
commit e64998b042
2 changed files with 1 additions and 3 deletions

View File

@ -187,6 +187,7 @@ e_comp_canvas_init(int w, int h)
e_comp->evas = ecore_evas_get(e_comp->ee);
e_comp->w = w;
e_comp->h = h;
ecore_evas_resize(e_comp->ee, w, h);
if (e_first_frame)
evas_event_callback_add(e_comp->evas, EVAS_CALLBACK_RENDER_POST, _e_comp_canvas_cb_first_frame, NULL);

View File

@ -128,9 +128,6 @@ e_modapi_init(E_Module *m)
/* get the current screen geometry */
ecore_evas_screen_geometry_get(e_comp->ee, NULL, NULL, &w, &h);
/* resize the canvas */
ecore_evas_resize(e_comp->ee, w, h);
ecore_evas_callback_resize_set(e_comp->ee, _e_mod_drm_cb_ee_resize);
if (!e_xinerama_fake_screens_exist())