Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
borders.c snaps.c
Log Message:
Fix some remembered settings bugs.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -3 -r1.252 -r1.253
--- borders.c 20 Mar 2005 16:12:58 -0000 1.252
+++ borders.c 24 Mar 2005 09:40:59 -0000 1.253
@@ -22,6 +22,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "E.h"
+#include "snaps.h"
#include <sys/time.h>
#define EWIN_BORDER_PART_EVENT_MASK \
@@ -590,6 +591,8 @@
EwinBorderCalcSizes(ewin);
EwinPropagateShapes(ewin);
+
+ SnapshotEwinUpdate(ewin, SNAP_USE_BORDER);
}
void
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/snaps.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -3 -r1.88 -r1.89
--- snaps.c 19 Mar 2005 16:40:17 -0000 1.88
+++ snaps.c 24 Mar 2005 09:40:59 -0000 1.89
@@ -1108,9 +1108,9 @@
fprintf(f, "CLASS: %s\n", sn->win_class);
if (sn->track_changes)
fprintf(f, "AUTO: yes\n");
- if (sn->use_flags & SNAP_USE_BORDER)
+ if ((sn->use_flags & SNAP_USE_BORDER) && sn->border_name)
fprintf(f, "BORDER: %s\n", sn->border_name);
- if (sn->use_flags & SNAP_USE_COMMAND)
+ if ((sn->use_flags & SNAP_USE_COMMAND) && sn->cmd)
fprintf(f, "CMD: %s\n", sn->cmd);
if (sn->use_flags & SNAP_USE_DESK)
fprintf(f, "DESKTOP: %i\n", sn->desktop);
@@ -1136,9 +1136,9 @@
if (sn->use_flags & SNAP_USE_FOCUS_NEVER)
fprintf(f, "NEVERFOCUS: %i\n", sn->neverfocus);
#if USE_COMPOSITE
- if (sn->use_flags & SNAP_USE_BORDER)
+ if (sn->use_flags & SNAP_USE_OPACITY)
fprintf(f, "OPACITY: %i\n", sn->opacity);
- if (sn->use_flags & SNAP_USE_BORDER)
+ if (sn->use_flags & SNAP_USE_SHADOW)
fprintf(f, "SHADOW: %i\n", sn->shadow);
#endif
if (sn->groups)
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs