wayfire
wayfire copied to clipboard
Move detection and calculation of grid snapping to grid plugin from move plugin
Second attempt working towards https://github.com/WayfireWM/wayfire/pull/1619
The grid plugin now responds to moves and shows previews unless it isn't loaded. When it isn't loaded, the move plugin still handles maximizing windows and the associated preview.
I've decoupled the workspace switching state from the snapping preview state and updated the naming. The snap thresholds are also pulled from the move plugin configuration by the grid plugin rather than passing them in the signal.
Is that closer to what you're looking for?