8000
  • linux_x11: fix enter/leave mouse state handling. by ParriCode · Pull Request #605 · not-fl3/miniquad · GitHub
    [go: up one dir, main page]

    Skip to content

    linux_x11: fix enter/leave mouse state handling. - #605

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

    not-fl3 merged 1 commit into
    not-fl3:masterfrom
    ParriCode:fix/X11-mouse-enter-leave-event

    Conversation

    @ParriCode
    Copy link
    Copy Markdown

    Mouse enter/leave window events were not handling. 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.

    This results in incorrect readings in dependent code, such as the macroquad function is_mouse_button_down().

    Tested on Linux/X11.

    Mouse enter/leave window events were not handling.
    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.
    
    This results in incorrect readings in dependent code, such as the macroquad
    function is_mouse_button_down().
    
    Tested on Linux/X11.
    @not-fl3
    not-fl3 commented Mar 14, 2026
    Copy link
    Copy Markdown
    Owner

    Thanks for PR!

    @not-fl3
    not-fl3 merged commit 4842833 into not-fl3:master Mar 14, 2026
    11 checks passed
    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

    0