FVWM: automatic focus problem

From: Sam Izzo <izzo_at_humbug.net>
Date: Sun, 11 Aug 2002 11:46:48 +1000

Hi,

I was just writing this big email about how to get my gnomeicu window to grab
focus when I pop it up with the key binding that I created for it. Then I
tried adding a +I Wait GnomeICU into the function that does the popping up,
and it worked!

If anyone is interested, this is how I did it:

AddToFunc gnomeicu-showhide
+ I Exec exec gnomeicu-client showhide
+ I Wait GnomeICU
+ I All (GnomeICU) Move 80 10
+ I All (GnomeICU) Raise
+ I All (GnomeICU) FlipFocus

Key A A CS Function gnomeicu-showhide

Actually, now I have some questions: when I select a name to send a message
to and hit enter on the name, the message dialog pops up, but at random
locations on the screen, and it doesn't have focus. Is it possible to have it
always pop up in the centre and grab focus? Is this just some funky event
thing? Perhaps I should just read up about that.. :)

The second thing is that with the above function, gnomeicu pops up at some
random location but is then moved to 80%, 10% on the screen, so you see it pop
up elsewhere before it moves to that location. Is there a way to not have it
do this? Because it's kind of ugly.

But apart from those minor problems (which I'm sure can be easily fixed with
recipe tweaking) fvwm is still my favorite window manager!

sam

--
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 Sat Aug 10 2002 - 20:47:38 BST

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