ecore-wl2: Remove test for no-op move/resize

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-09-30 10:45:29 -04:00
parent 597426e606
commit 70867d9dc7
1 changed files with 4 additions and 4 deletions

View File

@ -430,8 +430,8 @@ ecore_wl2_window_move(Ecore_Wl2_Window *window, int x, int y)
EINA_SAFETY_ON_NULL_RETURN(window);
/* test for no-op move */
if ((window->geometry.x == x) && (window->geometry.y == y))
return;
/* if ((window->geometry.x == x) && (window->geometry.y == y)) */
/* return; */
window->geometry.x = x;
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);
/* test for no-op resize */
if ((window->geometry.w == w) && (window->geometry.h == h))
return;
/* if ((window->geometry.w == w) && (window->geometry.h == h)) */
/* return; */
window->geometry.w = w;
window->geometry.h = h;