On Mon, Feb 21, 2011 at 05:05:05PM +0100, Bastian wrote:
> Hi there,
>    
>    I failed to set up FvwmIconMan to only list sticky icons, where 
>    either Sticky(Page|Desk) or Sticky(Page|Desk)Icon is set.
> 
>    Is there a way for IconMan to evaluate arbitrary styles?

But you can do this -- assuming you tell FvwmIconMan to not honour
WinListSkip.

Style * WindowListSkip
Style foo Sticky, WindowListHit
Style bar StickyPageIcon, WindowListHit
...

If you're doing this dynamically, and you're setting these through
WindowStyle, ensure you wrap it up in a function:

DestroyFunc ApplyStyleSticky
AddToFunc   ApplyStyleSticky
+ I WindowStyle Sticky, ...., WindowListHit
+ I UpdateStyles

Going in the opposite direction:

DestroyFunc RemoveStyleSticky
AddToFunc   RemoveStyleSticky
+ I DestroyWindowStyle
+ I UpdateStyles

You can bind similar things to FvwmEvent's "configure_window" event if you
want.

-- Thomas Adam

Reply via email to