mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 09:40:10 +00:00
macos: Put DnD windows on status level
This will make sure the dragged window will stay visible.
This commit is contained in:
parent
0a9b501743
commit
a84fe6bde6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user