forked from enlightenment/efl
ecore_evas_wayland: remove useless code
This commit is contained in:
parent
89c6a316f6
commit
ffa2d37462
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue