wlsc_output_repaint may call wlsc_surface_damage indirectly through wlsc_output_set_cursor. If this happens in the call made from repaint, one ends up with repaint being called from both idle_repaint and wlsc_output_finish_frame. Fix this by setting output->repaint_scheduled to 1 before calling wlsc_output_repaint in the function repaint. [krh] Edited to just only clear repaint_scheduled, when we no longer have a repaint scheduled. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>dev
parent
a4b7e20392
commit
22e22a55be
Loading…
Reference in new issue