From b708556a7e3adfc515f5b87509eaba7a497203a9 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Sun, 9 Sep 2007 22:14:14 +0000 Subject: [PATCH] Do not focus dock windows that raise themselves (why oh why would they do that anyway, heh?) to fix bug #3439 with Avant Window Navigator. (Old svn revision: 26060) --- src/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events.c b/src/events.c index 823ae096a..f4c7ca0dd 100644 --- a/src/events.c +++ b/src/events.c @@ -1430,7 +1430,7 @@ handleConfigureRequest (DisplayInfo *display_info, XConfigureRequestEvent * ev) stealing prevention is not activated, otherwise we just set the "demands attention" flag... */ - if ((ev->value_mask & CWStackMode) && (wc.stack_mode == Above) && (wc.sibling == None)) + if ((ev->value_mask & CWStackMode) && (wc.stack_mode == Above) && (wc.sibling == None) && !(c->type & WINDOW_TYPE_DONT_FOCUS)) { Client *last_raised; -- GitLab