I'd like e16 to remember my window attributes for all windows with a
certain title, for example. I.e. if I have 8 xmessage windows open, I
would like them all to have the same location/border/etc attributes.
But, currently, trying to set the "Remember..." settings for one of
them will only get applied to one of them. I.e. I would need to repeat
this step 8 times to get the settings applied to all 8 instances. I.e.
I would need 8 separate instances of:
NEW: xmessage.Xmessage
NAME: xmessage
CLASS: Xmessage
BORDER: BORDERLESS
in my e_config--0.0.snapshots . And if I had a 9th such window open,
the settings wouldn't get applied.
This little snaps.c hack seems to do the trick -- my settings are
getting applied to all instances, but I'm not sure if things will blow
up or what the original intentions behind checking for sn->used were:
--- e16-1.0.14-a/src/snaps.c 2014-03-02 10:04:13.000000000 -0500
+++ e16-1.0.14-b/src/snaps.c 2014-04-22 22:22:48.000000000 -0400
@@ -198,7 +198,7 @@
const Snapshot *sn = (Snapshot *) data;
const EWin *ewin = (EWin *) match;
- return sn->used || !_SnapEwinMatch(sn, ewin);
+ return !_SnapEwinMatch(sn, ewin);
}
/* find a snapshot state that applies to this ewin */
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users