macos: Put DnD windows on status level

This will make sure the dragged window will stay visible.
This commit is contained in:
Arjan Molenaar 2024-09-10 22:10:48 +02:00
parent 0a9b501743
commit a84fe6bde6

View File

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