mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
5caa66ffb7
commit
6757a1b409
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user