mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 08:41:31 +00:00
[client] wayland: publish stable presentation cadence
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user