Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: ewins.c Log Message: Fix bug with initially maximized/fullscreen windows. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/ewins.c,v retrieving revision 1.137 retrieving revision 1.138 diff -u -3 -r1.137 -r1.138 --- ewins.c 7 Jan 2006 07:20:58 -0000 1.137 +++ ewins.c 7 Jan 2006 15:02:15 -0000 1.138 @@ -91,6 +91,7 @@ ewin->ly = -1; ewin->lw = -1; ewin->lh = -1; + ewin->ll = -1; ewin->client.win = win; ewin->client.x = -1; @@ -133,10 +134,10 @@ if (!XGetWindowAttributes(disp, _EwinGetClientXwin(ewin), &xwa)) return -1; - ewin->client.x = xwa.x; - ewin->client.y = xwa.y; - ewin->client.w = xwa.width; - ewin->client.h = xwa.height; + ewin->client.x = ewin->lx = xwa.x; + ewin->client.y = ewin->ly = xwa.y; + ewin->client.w = ewin->lw = xwa.width; + ewin->client.h = ewin->lh = xwa.height; ewin->client.bw = xwa.border_width; ewin->client.cmap = xwa.colormap; ewin->client.grav = NorthWestGravity; @@ -294,6 +295,9 @@ SnapshotsEwinMatch(ewin); /* Find a saved settings match */ SnapshotEwinApply(ewin); /* Apply saved settings */ + if (ewin->ll < 0) + ewin->ll = EoGetLayer(ewin); + EwinStateUpdate(ewin); /* Update after snaps etc. */ ICCCM_Adopt(ewin); ------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs