From ad5134a4c55fc8bdecebce72e0c69dce3e3896b0 Mon Sep 17 00:00:00 2001 From: Robert Roth Date: Fri, 24 Aug 2018 14:39:00 +0300 Subject: applicationwindow: do not set the help overlay modal The application help overlay was unnecessarily set to modal. Some people would prefer keeping the help overlay open while interacting with the application, until they memorize the shortcuts. This commit simply sets the modal property of the shortcuts window to false. https://gitlab.gnome.org/GNOME/gtk/issues/971 --- gtk/gtkapplicationwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c index 01e2efcb98..d7c5e8a231 100644 --- a/gtk/gtkapplicationwindow.c +++ b/gtk/gtkapplicationwindow.c @@ -958,7 +958,7 @@ gtk_application_window_set_help_overlay (GtkApplicationWindow *window, if (!window->priv->help_overlay) return; - gtk_window_set_modal (GTK_WINDOW (help_overlay), TRUE); + gtk_window_set_modal (GTK_WINDOW (help_overlay), FALSE); gtk_window_set_hide_on_close (GTK_WINDOW (help_overlay), TRUE); gtk_window_set_transient_for (GTK_WINDOW (help_overlay), GTK_WINDOW (window)); gtk_shortcuts_window_set_window (help_overlay, GTK_WINDOW (window)); -- cgit v1.2.1