rust_minifb icon indicating copy to clipboard operation
rust_minifb copied to clipboard

Mouse clicks aren't processed while the pointer is outside the window

Open tech6hutch opened this issue 1 year ago • 2 comments

When clicking in the window, dragging out, and releasing the button, window.get_mouse_down(MouseButton::Left) continues to return true until the mouse comes back in. Is this intended behavior / a limitation of the Windows API?

Related: #280, where the state wasn't updated even after coming back to the window.

tech6hutch avatar Feb 26 '24 19:02 tech6hutch

I see. Which OS are you using?

emoon avatar Feb 27 '24 09:02 emoon

Windows 10. I can check Windows 11 sometime today too.

tech6hutch avatar Feb 27 '24 12:02 tech6hutch