Issue #2194: Action search dialog behaves as a full window using a...

... tiling window manager.
Completing commit e6364ffa81 by additionally making sure the search
dialog is non-modal. Otherwise it prevents positionning it wherever we
want and it stays in the center, potentially hiding the canvas and
darkening the main window.
This commit is contained in:
Jehan 2019-06-11 02:14:18 +02:00
parent 1dd3d7e91e
commit aa1171ada2
1 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,7 @@ gimp_search_popup_new (Gimp *gimp,
GimpSearchPopupCallback callback,
gpointer callback_data)
{
GtkWidget *widget;
GtkWidget *widget;
widget = g_object_new (GIMP_TYPE_SEARCH_POPUP,
"type", GTK_WINDOW_TOPLEVEL,
@ -207,6 +207,7 @@ gimp_search_popup_new (Gimp *gimp,
"callback", callback,
"callback-data", callback_data,
NULL);
gtk_window_set_modal (GTK_WINDOW (widget), FALSE);
return widget;