mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-19 13:30:02 +00:00
macOS: drag surfaces should ignore all events
This fixes the Dnd demo.
This commit is contained in:
parent
a84fe6bde6
commit
e92bd4d9ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user