On Tue, Oct 12, 2004 at 10:46:24AM +1000, Me wrote: > Hi, > > After "borrowing" this code from another fvwm user a long time ago it > turns out that > it's no longer working and is baffling me. Perhaps i'm missing > something obvious. > > AddToFunc ToggleWindowTitle > + I ThisWindow (State 11) ThisWindow WindowStyle Title > + I TestRc (!Match) ThisWindow WindowStyle NoTitle > + I ThisWindow State 11 toggle > > > Yet this seems to work just fine (toggling obviously works): > > AddToFunc ToggleWindowTitle > + I ThisWindow (State 11) Echo "Window title is turned on" > + I TestRc (!Match) Echo "Window title is GONE" > + I ThisWindow State 11 toggle > > > If i manually toggle the State it will work once more. It seems there > is a problem with > my TestRc line ... any ideas? > > (Am running Fvwm 2.5.11)
The state flags get overwritten by the WindowStyle command. Please upgrade to 2.5.12 or downgrade to 2.5.10. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED]
pgp6EL6vfJTAe.pgp
Description: PGP signature
