diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-08-06 16:46:39 -0700 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2008-08-07 12:49:16 +0200 |
commit | 5031a1f9c91d14fbda4969781f86d806a9dd1be1 (patch) | |
tree | cc1840cf77fa50e225c6212714786f794aeb293f | |
parent | 1a07876af9f19af2d191ab32edd1953d6a456cca (diff) |
Handle sync alarm events on screens other than the last.
-rw-r--r-- | src/event.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/event.c b/src/event.c index 60896b66..2466ad72 100644 --- a/src/event.c +++ b/src/event.c @@ -2279,12 +2279,16 @@ handleEvent (CompDisplay *d, w = NULL; for (s = d->screens; s; s = s->next) + { for (w = s->windows; w; w = w->next) + { if (w->syncAlarm == sa->alarm) - break; - - if (w) - handleSyncAlarm (w); + { + handleSyncAlarm(w); + return; + } + } + } } break; } |