Skip to content

Linux: fix enter/leave mouse state handling#1026

Merged
not-fl3 merged 1 commit into
not-fl3:masterfrom
ParriCode:fix/mouse-enter-leave-event
Mar 14, 2026
Merged

Linux: fix enter/leave mouse state handling#1026
not-fl3 merged 1 commit into
not-fl3:masterfrom
ParriCode:fix/mouse-enter-leave-event

Conversation

@ParriCode

Copy link
Copy Markdown

Mouse enter/leave window events were not handled.
This caused incorrect mouse state when the pointer left the window.

When the mouse left the window, button state was not updated because events outside the window are not received.

The event handling was previously added in the miniquad repository. Here it is integrated into the context behaviuor.

Tested on Linux/X11

Mouse enter/leave window events were not handled.
This caused incorrect mouse state when the pointer left the window.

When the mouse left the window, button state was not updated because
events outside the window are not received.

The event handling was previously added in the miniquad repository.
Here it is integrated into the context behaviuor.

Tested on Linux/X11
@not-fl3 not-fl3 merged commit 6b0de95 into not-fl3:master Mar 14, 2026
1 of 6 checks passed
@not-fl3

not-fl3 commented Mar 14, 2026

Copy link
Copy Markdown
Owner

Thanks for PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants