Hi together,

I stuck again :-\ The following code is intended to remember
which  window  had  focus  for  page. So when I come back to
certain page the window which had focus on that page at last
should get focus:

DestroyFunc CurrentPageFocusFunc
AddToFunc CurrentPageFocusFunc I Next ("CurrentPage" "State 2") Focus
+ I None ("CurrentPage" "Focused") Prev ("CurrentPage" "!Iconified" "!Fvwm*B*") 
Focus

DestroyFunc MarkWindowAsActiveFunc
AddToFunc MarkWindowAsActiveFunc I Current ("!Iconified") All ("CurrentPage" 
"!Focused") State 2 False
+ I Current ("!Iconified") State 2 True

DestroyModuleConfig FvwmEvent*
*FvwmEvent: Cmd Function
*FvwmEvent: new_page CurrentPageFocusFunc 
*FvwmEvent: new_desk CurrentPageFocusFunc
*FvwmEvent: destroy_window CurrentPageFocusFunc
*FvwmEvent: focus_change MarkWindowAsActiveFunc

The "State 2" condition seems to be completely ignored. 

Thanks for any hints.

Cheers, Uwe
-- 
  ,_,   For personal reply/mail put "fvwm"
 (O,O)  in the subject.
 (   )  Otherwise I won't receive our mail.
--"-"----------------------------------------
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to