Re: FVWM: raising windows

From: Werner LEMBERG <sx0005_at_sx2.HRZ.Uni-Dortmund.DE>
Date: Fri, 24 Dec 1999 09:08:01 GMT

> Looking at the code, and with my testing, it looks to me like it
> would only attempt to make the window visible if it was off screen.

Sounds reasonable -- maybe this could be added to the man page.

> I'm not familiar with the direction seeking stuff, so perhaps
> someone else can answer that question. It would seem to me that
> picking the exact window to go to using a direction is only going to
> be reliable in controlled circumstances, like:
>
> +---+---+
> | | |
> +---+---+
> | | |
> +---+---+
>
> There are lots of other ways to pick the next window to use.

Using the `Lenience' option, it works sometimes unpredictable, but I
can finally access all windows in a more or less direct way.

For use with the keyboard I could imagine a pure geometric algorithm
(note that I have not checked the fvwm2 code):

  If you go down (i.e, a `Direction south'), sort the y-coordinates of
  the top sides of all windows which are visible and satisfy all
  conditions, and move along this list. If two coordinates are equal,
  remove all but the leftmost from this list.

Left/Right movement could be handled similarly. Of course, the
algorithm doesn't work with diagonal movement, but I assume that most
people use the arrow keys -- maybe this could be implemented as a new
function called `GeometricDirection' or something similar.


    Werner
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Dec 24 1999 - 07:59:20 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST