2009/9/8 Lucio Chiappetti <lucio@lamb...>:
> I was baffled by the fact you used backquotes `` instead of ''. The former
> freeze everything.
Quoting is everything.
> I am not fully there yet. What I wanted were two triplets of commands.
> Shift-F1/F2/F3 should CREATE a new "pseudocursor" of a given shape.
> Unshifted F1/F2/F3 should CHANGE the shape of the pseudocursor under the
Right -- so basically absolutely nothing to do with what you
originally posted then.
> I thought to define a base style, three variants (LaserA/B/C) associated to
> the three icons, and a "current/default" style
> Style LaserBase StickyIcon, StickyAcrossDesks, Layer 9, !IconTitle,
> IconBox none, PositionPlacement UnderMouse
> Style LaserA Icon beam.png , UseStyle LaserBase
> Style LaserB Icon circle.png, UseStyle LaserBase
> Style LaserC Icon ellipse.png , UseStyle LaserBase
> Style Laser UseStyle LaserA
> The creation function will imply the initial style via the -name
> DestroyFunc PointLaser
> AddToFunc PointLaser
> + I Exec xterm -name Laser$0 -iconic
Assuming you only launch your Laser$0 windows in this way, this is
fine, else use FvwmEvent to do the iconification on add_window in case
you start PoinLaser via a script or something.