diff options
author | Danny Baumann <dannybaumann@web.de> | 2008-05-08 08:22:53 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2008-05-08 08:22:53 +0200 |
commit | 5ca38167d04e1a42782a0a00198975e967e0615a (patch) | |
tree | 3b363184edce625971ad6818f55add4a0c68944f /src/event.c | |
parent | ea6a2ce70ed5ff1a3544fd3165e21559d4f70854 (diff) |
Don't set demands attention state on the active window.
Diffstat (limited to 'src/event.c')
-rw-r--r-- | src/event.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |