ecore/wayland: Fix screen size get when screen is rotated. 30/9830/1
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 6 Sep 2013 21:25:23 +0000 (18:25 -0300)
committerRafael Antognolli <rafael.antognolli@intel.com>
Fri, 6 Sep 2013 20:09:22 +0000 (17:09 -0300)
Remove old code that was reverting it to the wrong screen size.

Change-Id: I9df381addd1561634561df6fb78b0655cd752c84
Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/lib/ecore_wayland/ecore_wl.c

index fb4e6be..04510de 100644 (file)
@@ -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 */