From f18a56682f405a934f85083f4ca68ca5cea81f56 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 4 Feb 2021 13:34:27 +0530 Subject: [PATCH] Fix animations not resuming when OS window is hidden and then shown --- kitty/glfw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/glfw.c b/kitty/glfw.c index 70fc4ab37..055dfe307 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -329,6 +329,7 @@ window_focus_callback(GLFWwindow *w, int focused) { show_mouse_cursor(w); focus_in_event(); global_state.callback_os_window->last_focused_counter = ++focus_counter; + global_state.check_for_active_animated_images = true; } monotonic_t now = monotonic(); global_state.callback_os_window->last_mouse_activity_at = now;