From 22df555ebe785c023471e6de3da7e037fc7f3b94 Mon Sep 17 00:00:00 2001 From: ns <0n-s@users.noreply.github.com> Date: Tue, 10 Oct 2023 16:10:48 +0000 Subject: Allow applications to raise windows when raise_on_click is off. This is Metacity commit 50358a95 ("Allow applications to raise windows when raise_on_click is off. Closes #445447.") applied to Marco without modification. It also includes a change to the GSettings key's description to remove the now obsolete warning on the raise-on-click key, & replaces it with an actually useful description. This is copied from the equivalent key in gsettings-desktop-schemas. Fixes: https://github.com/mate-desktop/marco/issues/762 --- src/core/window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/window.c') diff --git a/src/core/window.c b/src/core/window.c index de3f9c99..c1702dd8 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -5025,8 +5025,7 @@ meta_window_configure_request (MetaWindow *window, { MetaWindow *active_window; active_window = window->display->expected_focus_window; - if (meta_prefs_get_disable_workarounds () || - !meta_prefs_get_raise_on_click ()) + if (meta_prefs_get_disable_workarounds ()) { meta_topic (META_DEBUG_STACK, "%s sent an xconfigure stacking request; this is " -- cgit v1.2.1