devilhorns pushed a commit to branch master.

commit d1b4362b524298df84486f0d52e2f4d3e0cd34ad
Author: Chris Michael <[email protected]>
Date:   Thu Aug 29 08:44:02 2013 +0100

    Reduce size of Ecore_Wl_Window structure.
    
    Removed 2 Eina_Rectangles from window structure as we only use width &
    height anyway, so we can store those as ints.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_wayland/Ecore_Wayland.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h 
b/src/lib/ecore_wayland/Ecore_Wayland.h
index 4ebb146..8c290f4 100644
--- a/src/lib/ecore_wayland/Ecore_Wayland.h
+++ b/src/lib/ecore_wayland/Ecore_Wayland.h
@@ -218,7 +218,11 @@ struct _Ecore_Wl_Window
    int edges;
 
    Eina_Rectangle allocation;
-   Eina_Rectangle saved_allocation, server_allocation;
+
+   struct 
+     {
+        int w, h;
+     } saved, server;
 
    /* Eina_Bool redraw_scheduled : 1; */
    /* Eina_Bool resize_scheduled : 1; */

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk

Reply via email to