compositor: Update view list before scheduling repaint
Hi guys,
I was testing my app with gstreamer's waylandsink embedded, and found the output didn't update in some case.
After debugging, it seems like the surface is not assigned with any outputs when committing, thus causing no repaint scheduled.