mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +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 setBackgroundColor:[NSColor clearColor]];
|
||||||
[window setDecorated:NO];
|
[window setDecorated:NO];
|
||||||
[window setLevel:NSStatusWindowLevel];
|
[window setLevel:NSStatusWindowLevel];
|
||||||
|
[window setIgnoresMouseEvents:YES];
|
||||||
|
|
||||||
frame_clock = _gdk_frame_clock_idle_new ();
|
frame_clock = _gdk_frame_clock_idle_new ();
|
||||||
gdk_surface_set_frame_clock (surface, frame_clock);
|
gdk_surface_set_frame_clock (surface, frame_clock);
|
||||||
|
Loading…
Reference in New Issue
Block a user