macOS: drag surfaces should ignore all events

This fixes the Dnd demo.
This commit is contained in:
Arjan Molenaar 2024-09-11 14:59:03 +02:00
parent a84fe6bde6
commit e92bd4d9ce

View File

@ -102,6 +102,7 @@ _gdk_macos_drag_surface_constructed (GObject *object)
[window setBackgroundColor:[NSColor clearColor]];
[window setDecorated:NO];
[window setLevel:NSStatusWindowLevel];
[window setIgnoresMouseEvents:YES];
frame_clock = _gdk_frame_clock_idle_new ();
gdk_surface_set_frame_clock (surface, frame_clock);