compositor: Improve mouse behaviour when the cursor leaves a window.
compositor: Improve mouse behaviour when the cursor leaves a window.

This ensures that an event is sent to the window that is being left
as well as the window that is being entered.

froggey/Mezzano,froggey/Mezzano