Is there a way to tell FVWM 2.5.10 to center all newly created windows
(with some exceptions based on the window name)?
Right now, I'm using FvwmEvent's add_window command to do it, but the
window is created first then moved, which looks crappy. Here's what I'm
doing now, which works but makes windows jump around when they are first
created:
AddToFunc StartFunction
+ I Module FvwmEvent
*FvwmEvent: StartDelay 5
*FvwmEvent: Cmd
*FvwmEvent: add_window "Function MyPositionWindow"
AddToFunc MyPositionWindow
+ I ThisWindow ("Emacs") Nop
+ I TestRc (Match) Break
+ I ThisWindow ("XTerm") Nop
+ I TestRc (Match) Break
+ I ThisWindow ("Download:Manager") Move 0 0
+ I TestRc (Match) Break
+ I ThisWindow ("asclock") Move -0p -0p
+ I TestRc (Match) Break
+ I ThisWindow Function MyCenterWindow # Center all others by default
Is there a way to do this that prevents windows from being moved after
they are created?
--
Francis Litterio
franl_at_world.std.com
http://world.std.com/~franl/
GPG and PGP public keys available on keyservers.
--
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 May 16 2004 - 09:42:27 BST