Trent Piepho wrote:
>
> Well, I implimented a replace function. It was actually quite simple. What
> is does is call CleverPlacement to find a new spot to stick a window. You
> will need Anthony Martin's CleverPlacement replacement for placement.c.
I found another use for it that I have been wanting for quite a while:
A way to perform a "vertical maximize" function without having the
window appear at (0,0) on the desktop (where I have a button bar):
AddToFunc "MaximizeVert"
+ "I" Maximize 0 92
+ "I" Replace
(92% was empirically derived to allow for the presense of a button bar
on the top, tkgoodstuff's task bar on the bottom, plus some extra room
-- Your Milage May Vary).
Actually, I've seen requests for this functionality come through this
mailing list a few times, so it might even be a candidate for a FAQ if
Chuck decides to implement "Replace" in his forthcoming 2.0.44 release.
[Nudge, nudge, wink, wink!]
[If anybody is interested, the patch also works in fvwm95 as well with
minor tweaks to two header files. If you are REALLY interested in the
tweaks, let me know privately, but don't spam this mailing list with
fvwm95 requests.]
--
(void) lar3ry(); gensch_at_zk3.dec.com
"I'm sorry you saw me, Billy. Now I'll have to kill you." -- Santa
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Nov 06 1996 - 08:32:45 GMT