[Xfce4-commits] <xfwm4:xfce-4.6> * src/client.c: Focus window when activate comes from application (otherwise the taskbar does not focus anymore).
Olivier Fourdan
noreply at xfce.org
Tue Nov 17 12:52:04 CET 2009
Updating branch refs/heads/xfce-4.6
to c2da2d43ba5b1f164cb2cc427e7715769c012cb0 (commit)
from 20844436440f2c6276c5a9829bc6913795e00e14 (commit)
commit c2da2d43ba5b1f164cb2cc427e7715769c012cb0
Author: Olivier Fourdan <fourdan.olivier at wanadoo.fr>
Date: Sun Jul 26 14:14:01 2009 +0000
* src/client.c: Focus window when activate comes from application
(otherwise the taskbar does not focus anymore).
(Old svn revision: 30396)
ChangeLog | 5 +++++
src/client.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4e84a9d..6f4f22f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-26 olivier
+
+ * src/client.c: Focus window when activate comes from application
+ (otherwise the taskbar does not focus anymore).
+
2009-07-19 olivier
* src/focus.c: Place windows on top of stack even when not focused in
diff --git a/src/client.c b/src/client.c
index 00b2270..b3181e9 100644
--- a/src/client.c
+++ b/src/client.c
@@ -2578,7 +2578,7 @@ clientActivate (Client * c, guint32 timestamp, gboolean source_is_application)
}
clientRaise (sibling, None);
clientShow (sibling, TRUE);
- if (!source_is_application || screen_info->params->click_to_focus)
+ if (source_is_application || screen_info->params->click_to_focus)
{
clientSetFocus (screen_info, c, timestamp, NO_FOCUS_FLAG);
}
More information about the Xfce4-commits
mailing list