FVWM: Key binding to raise specific window?

From: Jed S. Baer <thag_at_frii.com>
Date: Sun, 7 Jul 2002 11:40:05 -0600

Greetings.

First off, taking a queue from Maddog Hall, many thanks to the Fvwm
developers. I try other WMs from time to time, and keep coming back.

I'm using v 2.2.5

What I would like to be able to do is bind a key to a function which would
raise my fvwmbuttons. For the sake of having as much usable screen area as
possible, I have it set so that it can be obscured by other windows. (no
autoraise going on, and sometimes I completely obscure it anyway)

Style "FvwmButtons" NoTitle, NoHandles, StaysPut, Sticky, \
                        CirculateSkip, BorderWidth 0, \
                        WindowListHit

So, I can warp to it from the window list, or edge-flip and get to it that
way, but I'm hoping for a faster method. But looking through the man page,
the closest I can come to this is `WindowId 0x34567890 Raise' (or warpto),
except that I don't have the window ID. Is there a function I've missed
which will return the window ID so that I can use it in a key binding? Or
maybe a SendToModule command to tell it to raise itself?

I'm starting it up this way:

AddToFunc InitFunction "I" Module FvwmButtons
AddToFunc RestartFunction "I" Module FvwmButtons

I realize that a GetWindowID("string") would suffer from the issue of
possibly matching multiple windows, but I could give FvwmButtons a unique
title at startup, and find it that way, I think.

Advice appreciated.
jed
-- 
We're frogs who are getting boiled in a pot full of single-character
morphemes, and we don't notice. - Larry Wall; Perl6, Apocalypse 5
--
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 Jul 07 2002 - 12:40:47 BST

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