compositor: Set repaint_on_timeout when we schedule a timeout repaint
This commit is contained in:
parent
a495a5ed8b
commit
f30c67eea6
@ -392,6 +392,7 @@ wlsc_compositor_finish_frame(struct wlsc_compositor *compositor, int msecs)
|
|||||||
{
|
{
|
||||||
wl_display_post_frame(compositor->wl_display, msecs);
|
wl_display_post_frame(compositor->wl_display, msecs);
|
||||||
wl_event_source_timer_update(compositor->timer_source, 5);
|
wl_event_source_timer_update(compositor->timer_source, 5);
|
||||||
|
compositor->repaint_on_timeout = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user