How about this for a new window placement policy, CleverPlacement? Currently
we have SmartPlacement, which avoids all overlap and gives up if it can't,
and DumbPlacement (er, RandomPlacement), which sticks the windows semi-randomly
on the screen. CleverPlacement should be like SmartPlacement, it tries to
avoid overlap. If it can't avoid it entirely, it tries to minimize it.
If I have two windows, each 100% vertical size and 51% horizontal size, the
the best way to place them is so they fill the whole screen and overlap just
a bit in the middle.
Anyone have an idea on a heuristic to try and find the least overlapping
position?
|Gazing up to the breeze of the heavens \ on a quest, meaning, reason |
|came to be, how it begun \ all alone in the family of the sun |
|curiosity teasing everyone \ on our home, third stone from the sun. |
|Trent Piepho (xyzzy_at_u.washington.edu) -- Metallica |
--
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 Tue Oct 22 1996 - 04:06:39 BST