Call present after clearing repaint_needed
In case we end up scheduling a repaint in the finish_frame callback.
This commit is contained in:
@@ -578,9 +578,8 @@ repaint(void *data)
|
|||||||
wl_list_for_each(output, &ec->output_list, link)
|
wl_list_for_each(output, &ec->output_list, link)
|
||||||
wlsc_output_repaint(output);
|
wlsc_output_repaint(output);
|
||||||
|
|
||||||
ec->present(ec);
|
|
||||||
|
|
||||||
ec->repaint_needed = 0;
|
ec->repaint_needed = 0;
|
||||||
|
ec->present(ec);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user