Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
coords.c
Log Message:
Fix size indication when moving shaded window.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/coords.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- coords.c 22 Dec 2005 18:43:15 -0000 1.39
+++ coords.c 22 Dec 2005 18:46:03 -0000 1.40
@@ -59,7 +59,9 @@
x = ewin->shape_x;
y = ewin->shape_y;
- ICCCM_GetIncrementalSize(ewin, ewin->shape_w, ewin->shape_h, &w, &h);
+ w = (ewin->state.shaded) ? ewin->client.w : ewin->shape_w;
+ h = (ewin->state.shaded) ? ewin->client.h : ewin->shape_h;
+ ICCCM_GetIncrementalSize(ewin, w, h, &w, &h);
Esnprintf(s, sizeof(s), "%i x %i (%i, %i)", w, h, x, y);
TextSize(tc, 0, 0, 0, s, &cw, &ch, 17);
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs