forked from enlightenment/efl
ecore_evas/x: Minor code simplification
This commit is contained in:
parent
7f25f19b47
commit
7f57e23670
|
@ -2180,8 +2180,8 @@ _ecore_evas_x_resize(Ecore_Evas *ee, int w, int h)
|
|||
|
||||
if (edata->direct_resize)
|
||||
{
|
||||
if ((ee->w != w) || (ee->h != h))
|
||||
{
|
||||
if ((ee->w == w) && (ee->h == h)) return;
|
||||
|
||||
ee->w = w;
|
||||
ee->h = h;
|
||||
if (changed) edata->configure_reqs++;
|
||||
|
@ -2208,7 +2208,6 @@ _ecore_evas_x_resize(Ecore_Evas *ee, int w, int h)
|
|||
_ecore_evas_x_resize_shape(ee);
|
||||
if (ee->func.fn_resize) ee->func.fn_resize(ee);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
edata->configure_coming = 1;
|
||||
|
|
Loading…
Reference in New Issue