On Tue, Dec 03, 2002 at 11:50:34PM +0100, Marcus Lundblad wrote: > > > On Tue, 3 Dec 2002 [EMAIL PROTECTED] wrote: > > > On Tue, Dec 03, 2002 at 11:01:23PM +0100, Marcus Lundblad wrote: > > > > > > > > > On Tue, 3 Dec 2002, Marcus Lundblad wrote: > > > > > > > I added a field in window_flags in fvwm.h and parsing conditional.c > > > > But where do I do the checking against an actual window? > > > > The function MatchesConditionMask in conditional.c only checks few cases > > > > and always returns False for iconified windows. > > > > > > OK, it ands iconified, transient and iconified by parent, not or:ing... > > > ok, I missunderstood this part. But still I'm not sure where to do the > > > check. > > > > You do not need an additional flag - the code is already there. > > Call the is_function_allowed() function from decorations.c. > > But wouldn't I still have to in code that parses the condition string in > CreateConditionMask and patch MatchesConditionMask to check > is_function_allowed for the current window and resize?
Of course - all I wanted to say is that you do not need to add a flag to the window structure and write the code to do the check. Bye Dominik ^_^ ^_^ -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]