Re: FVWM: set style by state
On 7 November 2012 07:35, Bastian wrote: > On 05Nov12 10:24 -0700, Jaimos F Skriletz wrote: >> I am under the impression that Pick is slightly different in once >> you pick the window the context is known so you only have to pick >> the window once and then run multiple things on that window. That > > Yes, Pick is different and it works to pick once and then operate on the > resulting window with multiple commands like stated in the man page. > > The conditional command 'All' e.g. does not work in this way. Sure it does -- again, there's a difference between a window and function context. Confer: All (XTerm) SomeFunction DestroyFunc SomeFunction AddToFunc SomeFunction + I Echo $[w.id] + I Echo $[w.name] The *function* supplies the window context. -- Thomas Adam
Re: FVWM: set style by state
On 05Nov12 10:24 -0700, Jaimos F Skriletz wrote: > I am under the impression that Pick is slightly different in once > you pick the window the context is known so you only have to pick > the window once and then run multiple things on that window. That Yes, Pick is different and it works to pick once and then operate on the resulting window with multiple commands like stated in the man page. The conditional command 'All' e.g. does not work in this way.
Re: FVWM: $[page.nx] etc. not functioning
> > > > Original Message >Subject: Re: FVWM: $[page.nx] etc. not functioning >From: Thomas Funk >Date: Tue, November 06, 2012 2:09 pm >To: fvwm@fvwm.org > > >msib...@crosswire.com wrote: > > Howdy, > > > > I have a 3x3 DeskTop > > > > # .fvwmconfig > > Key F8 A A Exec xmessage $[desk.n] $[page.nx] $[page.ny] $[w.id] > > > > I hit f8 while focused in a window in the bottom right page > > > > # xmessage output > > 0 0 0 0x142 > > > > I should get: > > 0 2 2 -x142 > > > > Am I correct? > >On which page you are? > > From your xmessage output your window is here > | > v >+-+-+-+ >| 0/0 | 1/0 | 2/0 | >+-+-+-+ >| 0/1 | 1/1 | 2/1 | desk 0 >+-+-+-+ >| 0/2 | 1/2 | 2/2 | >+-+-+-+ > ^ > | >What you want is here. Are your window here? > > >Thomas My screen is viewing page 2/2, at the time I hit the F8 key. But I get 0/0 from the variables. Any thoughts on fixing or debugging this? Thanks!
Re: FVWM: $[page.nx] etc. not functioning
msib...@crosswire.com wrote: > Howdy, > > I have a 3x3 DeskTop > > # .fvwmconfig > Key F8 A A Exec xmessage $[desk.n] $[page.nx] $[page.ny] $[w.id] > > I hit f8 while focused in a window in the bottom right page > > # xmessage output > 0 0 0 0x142 > > I should get: > 0 2 2 -x142 > > Am I correct? On which page you are? From your xmessage output your window is here | v +-+-+-+ | 0/0 | 1/0 | 2/0 | +-+-+-+ | 0/1 | 1/1 | 2/1 | desk 0 +-+-+-+ | 0/2 | 1/2 | 2/2 | +-+-+-+ ^ | What you want is here. Are your window here? Thomas
FVWM: $[page.nx] etc. not functioning
Howdy, I have a 3x3 DeskTop # .fvwmconfig Key F8 A A Exec xmessage $[desk.n] $[page.nx] $[page.ny] $[w.id] I hit f8 while focused in a window in the bottom right page # xmessage output 0 0 0 0x142 I should get: 0 2 2 -x142 Am I correct? I am running 2.6.4 Thanks!