forked from enlightenment/efl
ecore-wl2: Remove test for no-op move/resize
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
597426e606
commit
70867d9dc7
|
@ -430,8 +430,8 @@ ecore_wl2_window_move(Ecore_Wl2_Window *window, int x, int y)
|
||||||
EINA_SAFETY_ON_NULL_RETURN(window);
|
EINA_SAFETY_ON_NULL_RETURN(window);
|
||||||
|
|
||||||
/* test for no-op move */
|
/* test for no-op move */
|
||||||
if ((window->geometry.x == x) && (window->geometry.y == y))
|
/* if ((window->geometry.x == x) && (window->geometry.y == y)) */
|
||||||
return;
|
/* return; */
|
||||||
|
|
||||||
window->geometry.x = x;
|
window->geometry.x = x;
|
||||||
window->geometry.y = y;
|
window->geometry.y = y;
|
||||||
|
@ -462,8 +462,8 @@ ecore_wl2_window_resize(Ecore_Wl2_Window *window, int w, int h, int location)
|
||||||
EINA_SAFETY_ON_NULL_RETURN(window);
|
EINA_SAFETY_ON_NULL_RETURN(window);
|
||||||
|
|
||||||
/* test for no-op resize */
|
/* test for no-op resize */
|
||||||
if ((window->geometry.w == w) && (window->geometry.h == h))
|
/* if ((window->geometry.w == w) && (window->geometry.h == h)) */
|
||||||
return;
|
/* return; */
|
||||||
|
|
||||||
window->geometry.w = w;
|
window->geometry.w = w;
|
||||||
window->geometry.h = h;
|
window->geometry.h = h;
|
||||||
|
|
Loading…
Reference in New Issue