mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
Merge branch 'macos-popover-focus' into 'main'
macos: Fix IMContext for popovers See merge request GNOME/gtk!7041
This commit is contained in:
commit
6abd9def55
@ -998,7 +998,9 @@ _gdk_macos_display_get_nsevent (GdkEvent *event)
|
||||
{
|
||||
const GdkToNSEventMap *map = iter->data;
|
||||
|
||||
if (map->gdk_event == event)
|
||||
if (map->gdk_event->event_type == event->event_type &&
|
||||
map->gdk_event->device == event->device &&
|
||||
map->gdk_event->time == event->time)
|
||||
return map->nsevent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user