From 5ca38167d04e1a42782a0a00198975e967e0615a Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Thu, 8 May 2008 08:22:53 +0200 Subject: Don't set demands attention state on the active window. --- src/event.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/event.c') diff --git a/src/event.c b/src/event.c index 1505dd1f..aaaed30f 100644 --- a/src/event.c +++ b/src/event.c @@ -1725,6 +1725,8 @@ handleEvent (CompDisplay *d, } wState = constrainWindowState (wState, w->actions); + if (w->id == d->activeWindow) + wState &= ~CompWindowStateDemandsAttentionMask; if (wState != w->state) { -- cgit v1.2.3