HomeAll CommandsGrouped CommandsModulesFAQ

SnapAttraction


SnapAttraction [proximity [behaviour] [Screen]]

If during an interactive move the window or icon comes within proximity pixels of another the window or icon, it is moved to make the borders adjoin. The default of 0 means that no snapping happens. Calling this command without arguments turns off snap attraction and restores the default behavior. Please refer also to the SnapGrid command.

The behavior argument is optional and may be set to one of the four following values: With All both icons and windows snap to other windows and other icons. SameType lets snap windows only to other windows and icons only to other icons. With Windows windows snap only to other windows. Icons do not snap. Similarly with Icons icons snap to only other icons and windows do not snap.

If the behavior option is not given, the snapping behavior is not changed. The default behavior is All.

If the Screen option is present windows and or icons are snapped to the screen edges too.


fvwm 2.5.23