summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorns <[email protected]>2023-10-10 16:10:48 +0000
committerraveit65 <[email protected]>2023-10-14 09:46:31 +0200
commit22df555ebe785c023471e6de3da7e037fc7f3b94 (patch)
tree694a03101847cd046fb9ccef5c28727ec926ec92 /src/core
parentee84552160f9c22ad696969e837793f53c975d46 (diff)
downloadmarco-22df555ebe785c023471e6de3da7e037fc7f3b94.tar.bz2
marco-22df555ebe785c023471e6de3da7e037fc7f3b94.tar.xz
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
Diffstat (limited to 'src/core')
-rw-r--r--src/core/window.c3
1 files changed, 1 insertions, 2 deletions
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 "