macos: Put DnD windows on status level
This will make sure the dragged window will stay visible.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user