Skip to content

Commit

Permalink
Fix one place where change_live_resize_state is not called
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Jul 11, 2023
1 parent 90223b5 commit 5139793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions kitty/child-monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,7 @@ process_pending_resizes(monotonic_t now) {
}
if (update_viewport) {
update_os_window_viewport(w, true);
change_live_resize_state(w, false);
zero_at_ptr(&w->live_resize);
w->is_damaged = true; // because the window size should be hidden even if update_os_window_viewport does nothing
}
Expand Down
1 change: 1 addition & 0 deletions kitty/state.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,3 +379,4 @@ void update_ime_position(Window* w, Screen *screen);
bool update_ime_position_for_window(id_type window_id, bool force, int update_focus);
void set_ignore_os_keyboard_processing(bool enabled);
void update_menu_bar_title(PyObject *title UNUSED);
void change_live_resize_state(OSWindow*, bool);

0 comments on commit 5139793

Please sign in to comment.