libweston: Fix clear timing of output repainted flag
authorTomohito Esaki <etom@igel.co.jp>
Tue, 10 Jul 2018 02:47:15 +0000 (11:47 +0900)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 10 Jul 2018 12:40:52 +0000 (15:40 +0300)
commitddaf95c5a1f0caa88a7c9348ef7af9fd07d1e8d6
tree1c339c5a1b393b9c42c0208ff4d52b96bad07074
parent8108239c39e0e79f08827780d9f848dfaf4e50cf
libweston: Fix clear timing of output repainted flag

Since the repaint status of the flushed output may be reset if a output
repaint is failed, it is necessary to clear the repainted flag
immediately after output repaint flush/cancel.

Signed-off-by: Tomohito Esaki <etom@igel.co.jp>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
libweston/compositor.c