Edge resistance perceived as visual lag on quick window drags
The window latching introduced with window latching functionality is creating some bad UX and also CPU overhead.
A video of the problem is here: https://webmshare.com/1W3ne It's hard to get it on a video but I hope you can see the problem.
What happens first of all is that the window latching feature does not take into consideration the acceleration speed of mouse cursor. If I move a window with my mouse very fast then I most probably am not interested in the latching feature. I just want to move the window. What I see that happens instead is that Mutter tries to latch windows even at very high speeds.
This first of all creates pointless CPU spikes just because I am moving a window and second of all it created a weird stuttering effect. It looks to the user as if the desktop is lagging when it's actually just Mutter attempting to latch windows together. Screencast_from_04-06-18_23_38_32