[Xfce4-commits] [xfce/xfwm4] 01/02: focus: Raise on activate only with raise-on-focus
noreply at xfce.org
noreply at xfce.org
Mon Apr 15 22:08:35 CEST 2019
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfwm4.
commit 7431908b17d3e75d7f5ac9b55fae2d24194380ca
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Mon Apr 15 21:46:34 2019 +0200
focus: Raise on activate only with raise-on-focus
Bug: 14656
Commit 3877bf4 ("stacking: Raise on focus to activate") caused a
regression with raise-on-focus disabled as it would always raise
regardless of the actual value of the setting.
Raise window on activate only when "raise-on-focus" is enabled.
---
src/focus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/focus.c b/src/focus.c
index a8dbda7..8f0c5d6 100644
--- a/src/focus.c
+++ b/src/focus.c
@@ -525,7 +525,7 @@ clientUpdateFocus (ScreenInfo *screen_info, Client * c, unsigned short flags)
clientSetNetState (c);
restacked = clientAdjustFullscreenLayer (c, TRUE);
- if (!restacked && screen_info->params->click_to_focus)
+ if (!restacked && screen_info->params->raise_on_focus)
{
clientRaise (c, None);
clientSetLastRaise (c);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list