Re: FVWM: New idea, ReplaceOnDeiconify

From: Anthony Martin <amartin_at_engr.csulb.edu>
Date: Thu, 31 Oct 1996 22:46:09 -0800 (PST)

On Thu, 31 Oct 1996, Trent Piepho wrote:

> I've been using Tony's CleverPlacement, and it's really great. So good in
> fact, I'd my windows to use it more. I'd like windows to be "replaced"
> when they are deinconified. As it is now, they appear where they were
> before. Lots of times there is a window there, and CleverPlacement could
> find a much better spot to stick it. This would also lead to another
> function, Tile. This would just replace all the windows, turning an ugly
> heap of windows into a nice tiled arrangement.

Would you stop doing this? You've already gotten me in enough trouble
with this CleverPlacement stuff :-) If you're not careful, I might end up
implementing the damn thing :-) Actually I thought about this too
(believe it or not), not with regards do deiconification since I rarely
iconify stuff, but I was thinking it would be a handy title-bar button
(Replace). And as you say, it would also be handy when windows are
deiconified. This shouldn't be too hard to implement.

As for the tile function, I considered that but there are a few more
complications with this one. First, you likely wouldn't want all of your
windows to be replaced, so an additional attribute would probably be
required for things like FvwmButtons (NOREPLACE). Second, how would you
go about replacing the windows? For optimum placement, you would probably
want to do something like place the largest windows first and the smallest
last. But this might drive you nuts trying to find where all of your
windows were placed. Another possibility would be to replace the windows
trying to stay as close to the original placement as possible. This would
be much more difficult. This type of function would probably be more
suitable as a module.

Tony.

--
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 Fri Nov 01 1996 - 00:46:28 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST