mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
Issue #13436: dock windows follow main window with all but NORMAL hint.
Per testing by Gabriele and discussions on IRC, it doesn't make sense that UTILITY windows also keep all dockables above. Otherwise what's the difference with KEEP_ABOVE? Also it turns out that on macOS, setting a parent makes the transient window follow the parent window (so it's close to the modal window concept of GNOME). So that makes it even more important that our utility windows don't have a parent.
This commit is contained in:
parent
b8a39a4911
commit
756700a02a
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ gimp_dialog_factory_dialog_new_internal (GimpDialogFactory *factory,
|
|||
if (context != NULL)
|
||||
config = GIMP_GUI_CONFIG (context->gimp->config);
|
||||
|
||||
if (! config || config->dock_window_hint != GIMP_WINDOW_HINT_NORMAL)
|
||||
if (! config || config->dock_window_hint == GIMP_WINDOW_HINT_KEEP_ABOVE)
|
||||
gtk_window_set_transient_for (GTK_WINDOW (dialog),
|
||||
GTK_WINDOW (parent_toplevel));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue