[client] wayland: publish stable presentation cadence

This commit is contained in:
Geoffrey McRae
2026-08-06 17:11:03 +10:00
parent 988675e53a
commit 1b78384da3
4 changed files with 26 additions and 5 deletions

View File

@@ -92,6 +92,7 @@ static void wlSurfaceEnterHandler(void * data, struct wl_surface * surface, stru
wl_list_insert(&wlWm.surfaceOutputs, &node->link);
waylandWindowUpdateScale();
waylandOutputUpdateHDRWhiteLevel();
waylandOutputUpdateFramePeriod();
}
static void wlSurfaceLeaveHandler(void * data, struct wl_surface * surface, struct wl_output * output)
@@ -106,6 +107,7 @@ static void wlSurfaceLeaveHandler(void * data, struct wl_surface * surface, stru
}
waylandWindowUpdateScale();
waylandOutputUpdateHDRWhiteLevel();
waylandOutputUpdateFramePeriod();
}
static const struct wl_surface_listener wlSurfaceListener = {