Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_window.c 


Log Message:
Fix maximum size handling for cases when the engine doesn't return maximum
window values.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_window.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- ewl_window.c        2 Oct 2006 05:19:24 -0000       1.63
+++ ewl_window.c        20 Oct 2006 04:15:06 -0000      1.64
@@ -649,7 +649,9 @@
        if ((width == EWL_OBJECT_MAX_SIZE) && (width == height))
        {
                ewl_engine_window_geometry_get(window, TRUE, &width, &height);
-               ewl_object_maximum_size_set(EWL_OBJECT(window), width, height);
+               if (width > 1 && height > 1)
+                       ewl_object_maximum_size_set(EWL_OBJECT(window), width,
+                                       height);
        }
        ewl_engine_embed_dnd_aware_set(EWL_EMBED(window));
 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to