summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}
}
}