ecore_evas_wayland: remove useless code

This commit is contained in:
Jiyoun Park 2017-03-03 12:44:35 +09:00
parent 89c6a316f6
commit ffa2d37462
1 changed files with 4 additions and 8 deletions

View File

@ -924,7 +924,6 @@ void
_ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
{
Ecore_Evas_Engine_Wl_Data *wdata;
int orig_w, orig_h;
int ow, oh;
int diff = 0;
@ -1057,13 +1056,10 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
else if (h < minh)
h = minh;
orig_w = w;
orig_h = h;
ee->w = orig_w;
ee->h = orig_h;
ee->req.w = orig_w;
ee->req.h = orig_h;
ee->w = w;
ee->h = h;
ee->req.w = w;
ee->req.h = h;
if (ECORE_EVAS_PORTRAIT(ee))
{