Skip to content

Cannot cancel mouse button inputs by moving the cursor out of the window before releasing the mouse button #4431

@UserNaem

Description

@UserNaem

mpv version and platform

0.25.0, Windows 7 SP1

Reproduction steps

Add this to input.conf:
MOUSE_BTN1 quit
Run mpv.
Press and hold middle mouse button anywhere in the mpv window, move the mouse cursor out of the mpv window and release middle mouse button.

Expected behavior

mpv shouldn't execute the command assigned to middle mouse button.

Actual behavior

mpv executes the command (quits).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions