Window move/resize can't currently be cancelled. (I have a patch.)
Created attachment 632
Allows Escape (by default) to cancel window move or resize.
The patch is now applied.
BTW the patch doesn't work so well when dragging windows between workspaces and it doesn't restore maximized windows once moved/cancelled. I guess we can live with that.
Created attachment 638
Fix some problems with cancellation (button release *only*).
* Restore window's workspace on canclled move.
Also redisplay that workspace and restore input focus.
* Re-maximise the window if needed.
* Wait for the mouse button (used for the drag) to be released.
This avoids things like inadvertent pasting when the button is released.
The patch applies, but I'm affraid I fail to see the benefit of it.
It doesn't restore the original size when moving a maximized window nor it restores the original workspace :(
That'd be because half of the patch has gone missing :-(
Still, what's there should be applied: it does at least fix the problem to do with mouse button release (make a small text selection, middle-button drag a window, cancel, leave the pointer over a terminal window, watch what happens when you release the button).
I'll attach the rest just as soon as I can...
Created attachment 639
Restore size & workspace after a cancelled move.
Here's the rest of the patch.