devilhorns pushed a commit to branch master.

commit 25f1706fa80d9641e8620bbd79c85f900cfe8263
Author: Chris Michael <[email protected]>
Date:   Fri Apr 26 07:41:17 2013 +0100

    Fix variable usage in framespace get. Thanks Seb ;)
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
index 82f5192..96a4f74 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
@@ -524,12 +524,12 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int 
location)
      {
         int fw, fh;
         Evas_Engine_Info_Wayland_Shm *einfo;
-        wdata->win->resizing = EINA_TRUE;
 
+        wdata->win->resizing = EINA_TRUE;
         if ((ee->rotation == 90) || (ee->rotation == 270))
           evas_output_framespace_get(ee->evas, NULL, NULL, &fh, &fw);
         else
-          evas_output_framespace_get(ee->evas, NULL, NULL, &fh, &fw);
+          evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
 
         if ((einfo = (Evas_Engine_Info_Wayland_Shm 
*)evas_engine_info_get(ee->evas)))
         if ((ee->rotation == 90) || (ee->rotation == 270))
@@ -538,7 +538,6 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
           ecore_wl_window_resize(wdata->win, ee->w + fw, ee->h + fh, location);
 
         einfo->info.edges = location;
-
      }
 }
 #endif

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to