Skip to content
Snippets Groups Projects
Commit a45bb014 authored by Tim Clem's avatar Tim Clem Committed by Alexandre Julliard
Browse files

winemac.drv: Remove now-unnecessary drag stop event on mouse up.


This approach was added by 5cf64084 to work around changes to
event behavior in macOS Catalina, 10.15. However, more reliable
notification center messages for dragging are available on 10.12+,
making this path unnecessary.

Signed-off-by: default avatarTim Clem <tclem@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent bb28d54d
No related branches found
No related tags found
No related merge requests found
......@@ -1747,14 +1747,6 @@ - (void) handleMouseButton:(NSEvent*)theEvent
WineWindow* windowBroughtForward = nil;
BOOL process = FALSE;
if (!useDragNotifications &&
type == NSEventTypeLeftMouseUp &&
[windowsBeingDragged count] &&
[window isKindOfClass:[WineWindow class]])
{
[self handleWindowDrag:window begin:NO];
}
if ([window isKindOfClass:[WineWindow class]] &&
type == NSEventTypeLeftMouseDown &&
![theEvent wine_commandKeyDown])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment