Created attachment 18165 [details] [review]
(Launchpad bug https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/149764/ )
This occurs because the break statement in the loop to find the window only breaks out of the inner loop. When the window is on a screen other than the last, the outer loop tries to search for the window on later screens and doesn't find it, causing handleSyncAlarm to be skipped.
Applied. Thanks much!