Skip to content
Snippets Groups Projects
Commit 5cf64084 authored by Charles Davis's avatar Charles Davis Committed by Alexandre Julliard
Browse files

winemac.drv: Also stop dragging if we receive a mouse up event.


We rely on AppKit-internal events to know when a window is being
dragged. In Catalina, AppKit stopped sending the "drag ended" event when
no drag actually took place, though it still sends "drag started" events
when the title bar is clicked. Ironically, this caused us to think the
window was still being dragged. In that case, waiting for the mouse
button to come back up should allow us to determine when the drag should
end.

Signed-off-by: default avatarChip Davis <cdavis@codeweavers.com>
Signed-off-by: default avatarKen Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 153db6a7
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment