[fix] fix rendering issues in stream and server windows when the main window is minimized

This commit is contained in:
dijunkun
2026-01-22 17:56:00 +08:00
parent ee08b231db
commit 7bbd10a50c
4 changed files with 34 additions and 23 deletions

View File

@@ -420,6 +420,9 @@ class Render {
bool keyboard_capturer_is_started_ = false;
bool foucs_on_main_window_ = false;
bool foucs_on_stream_window_ = false;
bool main_window_minimized_ = false;
uint32_t last_main_minimize_request_tick_ = 0;
uint32_t last_stream_minimize_request_tick_ = 0;
bool audio_capture_ = false;
int main_window_width_real_ = 720;
int main_window_height_real_ = 540;