Call present after clearing repaint_needed
In case we end up scheduling a repaint in the finish_frame callback.
This commit is contained in:
parent
cfc6d27b4c
commit
04db9fa583
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue