Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
ewin-ops.c
Log Message:
Prevent attempts to resize to less than 1x1.
===================================================================
RCS file: /cvs/e/e16/e/src/ewin-ops.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -3 -r1.121 -r1.122
--- ewin-ops.c 5 Sep 2007 19:12:55 -0000 1.121
+++ ewin-ops.c 24 Dec 2007 07:41:03 -0000 1.122
@@ -309,6 +309,10 @@
{
ICCCM_SizeMatch(ewin, w, h, &w, &h);
}
+ if (w <= 0)
+ w = 1;
+ if (h <= 0)
+ h = 1;
if ((w != ewin->client.w) || (h != ewin->client.h))
resize = 2;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs