macos: Propagate events for child surfaces

Before, popup windows did not respond to mouse clicks.
This change fixes that.

Fixes #5528.
This commit is contained in:
Arjan Molenaar 2023-01-23 21:45:59 +01:00
parent 5caa66ffb7
commit 6757a1b409

View File

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