Re: FVWM: idea for new window placement policy

From: J.A.vanderMost <jvdmost_at_wi.leidenuniv.nl>
Date: Wed, 23 Oct 1996 10:40:11 +0200 (METDST)

[..SNIP..]
>
>A possible optimization: keep a sorted list of the y coordinate of the
>bottom edge of each existing window; then instead of adding 1, set y to
>the next-higher element of the list. (Why this algorithm works is left
>as an exercise.)

What about shaped windows ? If you treat a shaped window as if it was a
rectangle then your method will work fine. If you want your new window to
use the "transparent" space of the shaped window then this method will
fail.

--------------------- --------------------------------------------
| / | |
| Shaped Window / | Normal window |
| / | |
| -------- | |
| | ===================== | |
| \ | | | |
| \| Space for | | |
| /| new window | | |
| / | | | |
| | | | | |
| | | | | |
| | ===================== | |
| | | |
----------- --------------------------------------------


Jeroen van der Most
--
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 Oct 23 1996 - 03:38:03 BST

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