summaryrefslogtreecommitdiff
path: root/src/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.cpp')
-rw-r--r--src/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.cpp b/src/event.cpp
index 1af011d..afe0716 100644
--- a/src/event.cpp
+++ b/src/event.cpp
@@ -1918,7 +1918,7 @@ CompDisplay::handleEvent (XEvent *event)
foreach (s, priv->screens)
{
- for (w = s->windows (); w; w = w->next)
+ foreach (w, s->windows ())
{
if (w->syncAlarm () == sa->alarm)
{