Re: FVWM: problem with raising next window

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sun, 21 Dec 2003 23:54:58 +0000

On 22 Dec 2003 00:25:01 +0100, Guido Berhoerster wrote:
>
> I'm trying to emulate Mwm's f.circle_up function. It is used to
> raise the window which is on the bottom of the window stack to
> the top so that it won't be obscured by other windows however it
> does _NOT_ set the focus to the raised window.
> I have bound a the following command to a keyboard shortcut:
>
> Key Escape A M Next (AcceptsFocus) Raise
>
> Unfortunately it does not appear to work, no windows are raised.
> Strange enough the following, very similar command which is used
> to set the focus to the next window works perfectly:
>
> Key Tab A M Next (AcceptsFocus) Focus
>
> What am I missing here and how can I get it to work?

Next window is the one after the focused one in the window list.
So, if you don't change Focus, only Raise the next window, the
consecutive Next commands will operate on the same window.

You almost always want to do Focus with Next, so create a function that
does Raise _and_ Focus and other things like uniconify, WarpToWindow
if you want this. You may reuse the WindowListFunc for example.
In one of the latest stable or latest unstable versions do:

  Key Escape A M Next (AcceptsFocus) WindowListFunc

(In the older versions the WindowListFunc syntax would be less compact.)

Regards,
Mikhael.
--
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 Sun Dec 21 2003 - 17:57:10 GMT

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