mirror of https://github.com/GNOME/gimp.git
app: make the popup previews transient to their parent's toplevel
so they don't appear below the dock. Seems to happen on OSX only, but is the right things to do on all platforms.
This commit is contained in:
parent
2d34092f48
commit
ffb559547c
|
@ -207,6 +207,8 @@ gimp_view_popup_timeout (GimpViewPopup *popup)
|
|||
gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
|
||||
|
||||
gtk_window_set_screen (GTK_WINDOW (window), screen);
|
||||
gtk_window_set_transient_for (GTK_WINDOW (window),
|
||||
GTK_WINDOW (gtk_widget_get_toplevel (popup->widget)));
|
||||
|
||||
frame = gtk_frame_new (NULL);
|
||||
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT);
|
||||
|
|
Loading…
Reference in New Issue