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



commit aa1171ada2a85428972a76eae0ce908fd45a841b
Author: Jehan <jehan girinstud io>
Date:   Tue Jun 11 02:14:18 2019 +0200

    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.

 app/widgets/gimpsearchpopup.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/app/widgets/gimpsearchpopup.c b/app/widgets/gimpsearchpopup.c
index 8aa7c79cbf..0f2cf688cb 100644
--- a/app/widgets/gimpsearchpopup.c
+++ b/app/widgets/gimpsearchpopup.c
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]