Update: http://www.imonk.com/baboon/FvwmProxy/download/FvwmProxy.20060527.tar.bz2
Added SoftInclude, used like Include, but it only propagates motion from an Include to a SoftInclude, not the reverse. There is no edge gluing with a SoftInclude. AutoSoft used with AutoInclude makes all implicit includes soft. Explicit regular includes are still not soft. Maybe AutoSoft should imply AutoInclude... later. ImageMap is now used appropriately, so you don't need HOME or such like in the prior example. There's now a SoftToggle command to use on any window. *FvwmProxy: SlotWidth 16 *FvwmProxy: SlotHeight 16 *FvwmProxy: SlotSpace 4 *FvwmProxy: GroupSlot 2 *FvwmProxy: GroupCount 5 *FvwmProxy: SlotStyle 1 MiniIcon *FvwmProxy: SlotStyle 7 Pixmap "mini-up.xpm" *FvwmProxy: SlotStyle 8 Pixmap "mini-bball.xpm" *FvwmProxy: SlotStyle 9 Pixmap "mini-cross.xpm" *FvwmProxy: SlotAction 1 Click1 Function "Die-on-DoubleClick" *FvwmProxy: SlotAction 7 Click1 SendToModule FvwmProxy SoftToggle *FvwmProxy: SlotAction 8 Click1 Iconify *FvwmProxy: SlotAction 9 Click1 Delete *FvwmProxy: UndoLimit 4 Key Z A 3 SendToModule FvwmProxy Undo Key R A 3 SendToModule FvwmProxy Redo A somewhat nonsensical group example using GIMP: *FvwmProxy: Group "GIMP" Include "The GIMP" *FvwmProxy: Group "GIMP" Include "Module Manager" *FvwmProxy: Group "GIMP" SoftInclude "Unit Editor" *FvwmProxy: Group "GIMP" AutoInclude *FvwmProxy: Group "GIMP" AutoSoft *FvwmProxy: Group "GIMP" Exclude "Preferences" The SoftInclude ends up being redundant in this case, but you see the syntax. I'm about ready to prepare for the check in, so if anyone wants to start reporting bugs, this would be a good time. -- _ ( \ _ \ /_ / _ _ Jason Weber Glendale, CA \|(\/)())) \/\/(-/_)(-/( http://www.imonk.com/baboon [EMAIL PROTECTED] // [EMAIL PROTECTED] (/ On Sat, May 20, 2006 at 08:10:51PM -0700, Jason Weber wrote: > Update: > http://www.imonk.com/baboon/FvwmProxy/download/FvwmProxy.20060520.tar.bz2 > > Undo and Redo are tentatively working now. I think I'm going with > Redo on meta-R instead of shift-meta-Z. > > Some fixes, too. > > -- > _ > ( \ _ \ /_ / _ _ Jason Weber Glendale, CA > \|(\/)())) \/\/(-/_)(-/( http://www.imonk.com/baboon [EMAIL PROTECTED] > // [EMAIL PROTECTED] > (/ > > > On Mon, May 08, 2006 at 01:01:11AM -0700, Jason Weber wrote: > > Update: > > http://www.imonk.com/baboon/FvwmProxy/download/FvwmProxy.20060508.tar.bz2 > > > > Again, it's a prototype. > > > > Here's a sample config, added to an existing proxy config: > > > > *FvwmProxy: Group "GIMP" Include "The GIMP" > > *FvwmProxy: Group "GIMP" AutoInclude > > *FvwmProxy: Group "GIMP" Exclude "Preferences" > > > > *FvwmProxy: Group "xmag" Include "xmag" > > *FvwmProxy: Group "xmag" IgnoreIDs > > > > *FvwmProxy: SlotWidth 16 > > *FvwmProxy: SlotHeight 16 > > *FvwmProxy: SlotSpace 4 > > > > *FvwmProxy: GroupSlot 2 > > *FvwmProxy: GroupCount 6 > > > > *FvwmProxy: SlotStyle 1 MiniIcon > > *FvwmProxy: SlotStyle 8 Pixmap > > "HOME/etc/icons/mini/mini-bball.xpm" > > *FvwmProxy: SlotStyle 9 Pixmap > > "HOME/etc/icons/mini/mini-cross.xpm" > > > > *FvwmProxy: SlotAction 1 Click1 Function "Die-on-DoubleClick" > > *FvwmProxy: SlotAction 8 Click1 Iconify > > *FvwmProxy: SlotAction 9 Click1 Delete > > > > Key Z A 3 SendToModule FvwmProxy Undo > > Key Z A S3 SendToModule FvwmProxy Redo > > > > Undo and redo is still kinda sketchy. > > > > Groups, by default, automatically associate windows of the same application, > > given that they each match an Include pattern. AutoInclude grabs all > > windows in the application, except ones that matches an Exclude. > > You can have multiple Includes and Excludes per group. Simple wildcards > > are supported using matchWildcards(). IgnoreIDs skips the > > "same application" test. The example attaches all xmag's on the same desk. > > It's now all opt-in, so unmentioned windows are never grouped > > automaticially. > > "Same application" means, in order: same WM_CLIENT_LEADER, same group > > leader in WM_HINTS, same _NET_WM_PID, or related pid using /proc. > > > > SlotStyle only supports MiniIcon and Pixmap, although I wouldn't mind > > supporting the same code as ButtonStyle. I haven't figured out why > > PGetFvwmPicture() didn't work with ImagePath. > > > > -- > > _ > > ( \ _ \ /_ / _ _ Jason Weber Glendale, CA > > \|(\/)())) \/\/(-/_)(-/( http://www.imonk.com/baboon [EMAIL PROTECTED] > > // [EMAIL PROTECTED] > > (/ > > > > > > On Sun, Apr 23, 2006 at 02:22:10AM -0700, Jason Weber wrote: > > > I've been working on the idea of proxy groups. > > > Fvwm developers are welcome to evaluate and provide feedback on a > > > prototype. > > > > > > http://www.imonk.com/baboon/FvwmProxy/download/FvwmProxy.20060423.tar.bz2 > > > > > > There are no new .fvwm2rc configurations yet. It's all in code. > > > > > > Proxy boxes now contain seven colored boxes. Click a box to join > > > that group. Moving, raising, lowering, iconifying, or deiconifying > > > a window in a group likewise affects the whole group. > > > Resizing a window in the group adjusts the matching edges > > > of the other windows in the group, primarily adjacent neighbors, > > > but across corners and even parallel disconnected edges as well. > > > Group behavior on moves and resizes does not occur when the proxies > > > are shown, so you can still make arbitrary adjustments. Coarse size > > > increments (mostly consoles) are handled by internally retaining a > > > goal size. > > > > > > Also, any new window that has the same process id (by _NET_WM_PID) as > > > any other window is automatically lumped into the same group, > > > starting a new group if necessary. > > > > > > -- > > > _ > > > ( \ _ \ /_ / _ _ Jason Weber Glendale, CA > > > \|(\/)())) \/\/(-/_)(-/( http://www.imonk.com/baboon [EMAIL > > > PROTECTED] > > > // [EMAIL > > > PROTECTED] > > > (/ > > > > > > > > > > > >