mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 12:21:55 +00:00
Fix animations not resuming when OS window is hidden and then shown
This commit is contained in:
parent
af94e07618
commit
f18a56682f
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue