[fusion-commits] Compiz mirror: Changes to 'master' (5ca38167d04e1a42782a0a00198975e967e0615a)

compiz at server.opencompositing.org compiz at server.opencompositing.org
Thu May 8 08:25:04 CEST 2008


New commits:
commit 5ca38167d04e1a42782a0a00198975e967e0615a
Author: Danny Baumann <dannybaumann at web.de>
Date:   Thu May 8 08:22:53 2008 +0200

    Don't set demands attention state on the active window.


 src/event.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Modified: compiz/src/event.c
===================================================================
--- compiz/src/event.c
+++ compiz/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)
 		{


More information about the commits mailing list