From e88d00f7a1c3322d113a317a15392189806ec563 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Fri, 6 Sep 2013 18:25:23 -0300 Subject: [PATCH] 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 --- src/lib/ecore_wayland/ecore_wl.c | 4 ---- 1 file changed, 4 deletions(-) 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 */ -- 2.7.4