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

This approach was added by 5cf64084fb 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: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Tim Clem 2021-09-14 13:22:46 -07:00 committed by Alexandre Julliard
parent bb28d54d08
commit a45bb014e8
1 changed files with 0 additions and 8 deletions

View File

@ -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])