mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 17:50:10 +00:00
Merge branch 'amolenaar/dnd-icon-on-top' into 'main'
macos: Keep DnD windows always on top Closes #6809 and #6818 See merge request GNOME/gtk!7706
This commit is contained in:
commit
250322deb0
@ -101,6 +101,8 @@ _gdk_macos_drag_surface_constructed (GObject *object)
|
|||||||
[window setOpaque:NO];
|
[window setOpaque:NO];
|
||||||
[window setBackgroundColor:[NSColor clearColor]];
|
[window setBackgroundColor:[NSColor clearColor]];
|
||||||
[window setDecorated:NO];
|
[window setDecorated:NO];
|
||||||
|
[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