FVWM: SnapGrid for icons only?

2009-02-14 Thread Stephen Talley
I just upgraded from fvwm-2.5.7 to fvwm-2.5.26. With 2.5.7, I had a nice function which allowed me to move icons with SnapGrid, while moving windows without it: SnapGrid 0 0 DestroyFunc MoveIcon AddToFunc MoveIcon + I SnapGrid $[ICONWIDTH] $[ICONHEIGHT] + I Move + I SnapG

Re: FVWM: SnapGrid for icons only?

2009-02-15 Thread Stephen Talley
Thomas Adam wrote: > > Upon upgrading, I see that SnapGrid is now a style, so I changed > > this to: > > > >Style * SnapGrid 0 0 > > > >DestroyFunc MoveIcon > >AddToFunc MoveIcon > >+ I Style * SnapGrid $[ICONWIDTH] $[ICONHEIGHT] > >+ I Move > >+ I Style * SnapGrid 0 0 > >

FVWM: Mouse binding prevents some buttons from working on FVWM 2.7.0

2023-06-06 Thread Stephen Talley
I've bound ctrl-mouse1 to Resize a window: Mouse 1 W C ResizeOrMove DestroyFunc ResizeOrMove AddToFunc ResizeOrMove + I Raise + M Resize Direction Automatic WarpToBorder + D Move This does what I want, but now normal mouse1 clicks (no modifiers) on certain widgets in You

FVWM: SnapGrid offset?

2025-04-06 Thread Stephen Talley
I have a custom function to move icons: DestroyFunc MoveIcon AddToFunc MoveIcon # Set icons to snap to grid exlusively + I WindowStyle SnapAttraction 0 + I WindowStyle SnapGrid $[ICONWIDTH] $[ICONHEIGHT] + I UpdateStyles + I Move # Reset snap settings for normal w