Re: FVWM: raising windows

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Thu, 23 Dec 1999 14:31:27 -0500

Werner LEMBERG <sx0005_at_sx2.hrz.uni-dortmund.de> writes:
>
> Something which seems to be fuzzy in fvwm2.man (of version 2.2.4):
>
> The description of `Focus' says, among others: `Raises the window if
> needed to make it visible'. What means `if needed'? Does it mean
> that the window which gets the focus is automatically raised if it is
> completely hidden? Or does it mean that the necessity is triggered
> externally, e.g. by the FvwmAuto module? If the former is the correct
> description, it doesn't work as expected, at least not with key
> assignments like
>
> Key Left A 4 Direction West Focus

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.

I suggest you create a function that focuses and raises the window and
bind that to the key instead, if thats what you want. This is
untested:

AddToFunc FocusRaise
+ I Focus
+ I Raise

Key Left A 4 Direction West FocusRaise


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.

--
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 Thu Dec 23 1999 - 13:34:49 GMT

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