From 17213f256a0c63c7f100e9b09fadbda4ee46a3ec Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Tue, 21 May 2019 14:35:03 -0400 Subject: Allow raise_on_click to be set independent of focus_mode Based on a patch by Thomas Jaeger upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/03e8e63d --- src/core/prefs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/core/prefs.c') diff --git a/src/core/prefs.c b/src/core/prefs.c index 5565f744..2c93cf19 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -1092,10 +1092,7 @@ meta_prefs_get_attach_modal_dialogs (void) gboolean meta_prefs_get_raise_on_click (void) { - /* Force raise_on_click on for click-to-focus, as requested by Havoc - * in #326156. - */ - return raise_on_click || focus_mode == META_FOCUS_MODE_CLICK; + return raise_on_click; } const char* -- cgit v1.2.1