summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-10-02 09:21:05 +0200
committerDanny Baumann <dannybaumann@web.de>2008-10-02 09:21:05 +0200
commit5d1e6250f762771990093ae5507446cc5b98b186 (patch)
treec474b03389ed41bc5b5b6e341e653bedbbcc40ba /src
parent649689f535a9ccb6f5d8bad34179ee84a85b2463 (diff)
Use changeWindowState function.
Diffstat (limited to 'src')
-rw-r--r--src/event.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/event.c b/src/event.c
index 14eba13a..2a088b0c 100644
--- a/src/event.c
+++ b/src/event.c
@@ -1498,15 +1498,10 @@ handleEvent (CompDisplay *d,
if (state != w->state)
{
- w->state = state;
-
- recalcWindowType (w);
- recalcWindowActions (w);
-
if (w->type & CompWindowTypeDesktopMask)
w->paint.opacity = OPAQUE;
- (*d->matchPropertyChanged) (d, w);
+ changeWindowState (w, state);
}
}
}