aconstlink / motor

Software Framework for Audio/Visual/Interactive Real-Time Applications
MIT License
3 stars 0 forks source link

Mouse info in resize message #78

Closed aconstlink closed 7 months ago

aconstlink commented 8 months ago

If the window is resized it could be beneficial to know if the mouse has been released so that the user knows that the resize interaction by the user has stoped. This can be used to trigger a resize of any used framebuffers which could be quite resource intensive if done while the user drags the windows' border.

Insert mouse button information into the resize message.

aconstlink commented 7 months ago

On win32 I used WM_EXITSIZEMOVE event to reduce the resize events to just one at the end of the resize event. XLib is not implmented.