forked from enlightenment/enlightenment
resize comp canvas on e_comp_canvas_init()
remove unnecessary call in wl drm output module
This commit is contained in:
parent
05d87a9b30
commit
e64998b042
|
@ -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);
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue