From: Rafael Antognolli Date: Fri, 6 Sep 2013 21:25:23 +0000 (-0300) Subject: ecore/wayland: Fix screen size get when screen is rotated. X-Git-Tag: accepted/tizen/20130910.210250~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e88d00f7a1c3322d113a317a15392189806ec563;p=platform%2Fupstream%2Fecore.git ecore/wayland: Fix screen size get when screen is rotated. Remove old code that was reverting it to the wrong screen size. Change-Id: I9df381addd1561634561df6fb78b0655cd752c84 Signed-off-by: Rafael Antognolli --- diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c index fb4e6be..04510de 100644 --- a/src/lib/ecore_wayland/ecore_wl.c +++ b/src/lib/ecore_wayland/ecore_wl.c @@ -346,10 +346,6 @@ ecore_wl_screen_size_get(int *w, int *h) if (w) *w = _ecore_wl_disp->output->allocation.w; if (h) *h = _ecore_wl_disp->output->allocation.h; } - - - if (w) *w = _ecore_wl_disp->output->allocation.w; - if (h) *h = _ecore_wl_disp->output->allocation.h; } /* @since 1.2 */