wayland: also log refresh rate on surface entrance

Never bothered to log this for some reason, but it's pretty convenient
when debugging.
This commit is contained in:
Dudemanguy 2022-11-18 16:36:21 -06:00
parent ba20f60add
commit d3a61cfe98
1 changed files with 2 additions and 2 deletions

View File

@ -756,8 +756,8 @@ static void surface_handle_enter(void *data, struct wl_surface *wl_surface,
if (!mp_rect_equals(&old_geometry, &wl->geometry) || force_resize)
wl->pending_vo_events |= VO_EVENT_RESIZE;
MP_VERBOSE(wl, "Surface entered output %s %s (0x%x), scale = %i\n", o->make,
o->model, o->id, wl->scaling);
MP_VERBOSE(wl, "Surface entered output %s %s (0x%x), scale = %i, refresh rate = %f Hz\n",
o->make, o->model, o->id, wl->scaling, o->refresh_rate);
wl->pending_vo_events |= VO_EVENT_WIN_STATE;
}