diff --git a/kitty/child-monitor.c b/kitty/child-monitor.c index f0b0ceb5c..c9e7983ec 100644 --- a/kitty/child-monitor.c +++ b/kitty/child-monitor.c @@ -821,9 +821,9 @@ no_render_frame_received_recently(OSWindow *w, monotonic_t now, monotonic_t max_ bool ans = now - w->last_render_frame_received_at > max_wait; if (ans && global_state.debug_rendering) { if (global_state.is_wayland) { - fprintf(stderr, "[%f] No render frame received in %.2f seconds", monotonic_t_to_s_double(now), monotonic_t_to_s_double(max_wait)); + log_error("No render frame received in %.2f seconds", monotonic_t_to_s_double(max_wait)); } else { - fprintf(stderr, "[%f] No render frame received in %.2f seconds, re-requesting", monotonic_t_to_s_double(now), monotonic_t_to_s_double(max_wait)); + log_error("No render frame received in %.2f seconds, re-requesting", monotonic_t_to_s_double(max_wait)); } } return ans;