fvwm3
fvwm3 copied to clipboard
snapattraction: fix parsing for screen/screenall
When parsing Screen and ScreenAll tokens for SnapAttraction, make sure they're applied properly.
Fixes #652
Overall this fixes the issue, but I think the logic is still slightly off (compared to manual page). The Screen
by itself should only snap if something already snaps (my understanding). So SnapAttraction 15 None Screen
shouldn't snap windows to screen, but does. Similarly SnapAttraction 15 Icons Screen
should only snap icons to the screen, but windows are snapping too.
Fixed already.