FVWM: Improved CleverPlacement

From: Anthony Martin <amartin_at_engr.csulb.edu>
Date: Sat, 26 Oct 1996 22:22:32 -0700 (PDT)

CleverPlacement is now cleverer. Now CleverPlacement tries more possible
positions when it is looking for the optimum placement. It is now more
likely to avoid things at the bottom of the screen such as button bars or
a pager. Also, it tries to completely avoid StaysOnTop windows like the
fvwm95 task bar.

It is set up so that it will usually avoid StaysOnTop windows completely,
but if it finds that it can save a lot of space elsewhere by covering just
a small portion of a StaysOnTop window, then it will do that. The
avoidance factor is configurable at compile time so that if you want it to
_always_ (or never) avoid StaysOnTop windows, then you can make it do so.
But I think the default works pretty well.

You can get the source at:
http://www.engr.csulb.edu/~amartin/placement.c

Just replace the placement.c that comes with fvwm. It also works fine
with fvwm95. To use with fvwm95 all you have to do is comment out a
header file at the top of placement.c and uncomment another.

Let me know if you have any problems.

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 Sun Oct 27 1996 - 00:22:46 BST

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