Merge branch 'macos-fix-popups' into 'main'

macos: Fix popup event handling

Closes #5528

See merge request GNOME/gtk!5436
This commit is contained in:
Matthias Clasen 2023-01-24 16:37:23 +00:00
commit 869f07521c

View File

@ -769,7 +769,7 @@ fill_event (GdkMacosDisplay *self,
{ {
ret = GDK_MACOS_EVENT_DROP; ret = GDK_MACOS_EVENT_DROP;
} }
else if (grab == NULL) else if (grab == NULL || grab->owner_events)
{ {
if (event_type == NSEventTypeMouseExited) if (event_type == NSEventTypeMouseExited)
[[NSCursor arrowCursor] set]; [[NSCursor arrowCursor] set];