compositor: Stop the repaint loop if the compositor went to sleep
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 16 Oct 2013 18:10:12 +0000 (11:10 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 16 Oct 2013 18:10:12 +0000 (11:10 -0700)
commit991810c1b3eb243a2137fc7e9e5cc5214b7f6330
tree7a1c80ad651c0aedf3ce0dd1a5ee9586ae1eb7e0
parent78fe75368aed4c2034ab1909c5856705b548ace2
compositor: Stop the repaint loop if the compositor went to sleep

We check the state when we schedule a repaint, but we will still repaint
in weston_output_finish_frame() if a repaint is needed.  Now we check
whether we went to sleep while waiting for the page flip and stop repainting
in that case.

https://bugs.freedesktop.org/show_bug.cgi?id=65802
src/compositor.c