Do not snap to windows of the Dock type
We do not snap to docks (i.e. panels) since the ones we actually want to snap to (i.e. always visible ones) will restrict the workspace area, and the window will snap to that, effectively snapping to the panel too. Explicitedly avoiding panel snapping solves any possible issue of floating panels, since they change their size when a window gets near them.
Edited by Niccolò Venerandi