From 7479326487b45b8746a8fa3fb76c6fa71160eb2a Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Fri, 13 Mar 2009 10:36:42 +0000 Subject: [PATCH] * src/focus.c: do not set the demand attendtion flag if the application itself has set a nil timestamp. (Old svn revision: 29658) --- ChangeLog | 5 +++++ src/focus.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a33b09aff..1064976ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-03-13 olivier + + * src/focus.c: do not set the demand attendtion flag if the + application itself has set a nil timestamp. + 2009-03-13 olivier * src/focus.c, serc/netwm.c: Check for nil timestamp regardless of diff --git a/src/focus.c b/src/focus.c index d9f557dd3..4b542c628 100644 --- a/src/focus.c +++ b/src/focus.c @@ -166,7 +166,7 @@ clientFocusNew(Client * c) { TRACE ("Given startup time is nil, not focusing \"%s\"", c->name); give_focus = FALSE; - prevented = TRUE; + prevented = FALSE; } else if ((client_focus) && (prevent_focus_stealing)) { -- GitLab