Call present after clearing repaint_needed

In case we end up scheduling a repaint in the finish_frame callback.
This commit is contained in:
Kristian Høgsberg 2011-04-11 13:39:43 -04:00
parent cfc6d27b4c
commit 04db9fa583
1 changed files with 1 additions and 2 deletions

View File

@ -578,9 +578,8 @@ repaint(void *data)
wl_list_for_each(output, &ec->output_list, link)
wlsc_output_repaint(output);
ec->present(ec);
ec->repaint_needed = 0;
ec->present(ec);
}
void