mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-03 09:01:42 -05:00
compositor: Set repaint_on_timeout when we schedule a timeout repaint
This commit is contained in:
parent
a495a5ed8b
commit
f30c67eea6
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue