Currently the pointer can leave the titlebar of a window when the auto-resize is triggered on a maximized window. The attached patch fixes it.
Created attachment 599 Clamp x-y location to within titlebar Attached patch
Ori, can you tell how you manage to get the pointer out of the title bar? The position of the pointer is proportinnal to the width, so I wonder.
maximize a window and drag *directly* sideways, without enough vertical movement to trigger auto-resize. This only works with dual monitors, so that your mouse has somewhere to go. It might also happen when dragging a maximized window sideways unti the desktop switches.
Ok, applied, thanks.