Move individual OSWindow rendering code into a separate function

Allow it to be called from other places, probably will be needed
to fix live resizing on macOS
This commit is contained in:
Kovid Goyal
2023-07-11 11:15:41 +05:30
parent 5139793787
commit e244d9da92
2 changed files with 43 additions and 35 deletions

View File

@@ -380,3 +380,4 @@ bool update_ime_position_for_window(id_type window_id, bool force, int update_fo
void set_ignore_os_keyboard_processing(bool enabled);
void update_menu_bar_title(PyObject *title UNUSED);
void change_live_resize_state(OSWindow*, bool);
bool render_os_window(OSWindow *w, monotonic_t now, bool ignore_render_frames, bool scan_for_animated_images);