mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] fix thumbnails deletion
This commit is contained in:
@@ -1285,13 +1285,9 @@ void Render::ProcessSdlEvent() {
|
||||
if (stream_window_ &&
|
||||
SDL_GetWindowID(stream_window_) == event.window.windowID) {
|
||||
foucs_on_stream_window_ = focus_gained;
|
||||
LOG_INFO("{} focus on stream window",
|
||||
focus_gained ? "Gained" : "Lost");
|
||||
} else if (main_window_ &&
|
||||
SDL_GetWindowID(main_window_) == event.window.windowID) {
|
||||
foucs_on_main_window_ = focus_gained;
|
||||
LOG_INFO("{} focus on main window",
|
||||
focus_gained ? "Gained" : "Lost");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user