Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
ecore_x_icccm.c
Log Message:
If the window hasn't any sizehint, reset the struct.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_icccm.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- ecore_x_icccm.c 10 Jun 2005 09:15:17 -0000 1.32
+++ ecore_x_icccm.c 12 Jun 2005 11:49:39 -0000 1.33
@@ -291,7 +291,10 @@
XSizeHints hint;
long mask;
- XGetWMNormalHints(_ecore_x_disp, win, &hint, &mask);
+ if (!XGetWMNormalHints(_ecore_x_disp, win, &hint, &mask))
+ {
+ memset(&hint, 0, sizeof(XSizeHints));
+ }
hint.flags = 0;
if (request_pos)
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs