> There seems to be a very small (1 or 2 pixels) drop down from where
> the cursor is released to the final position, when using this patch.
> I'm not sure if it's a real problem or an artifact, but it is almost
Ah, what the lack of sleep can do on a mind. Of course there's a drop. It's
adjusting to the grid step. Duh. :-)
I have uploaded a new version, I just moved the snap_to_grid() past the
position adjustments. I'm not sure it makes any difference.