[fix] reset to initial monitor on connection close via ResetToInitialMonitor to fix black screen

This commit is contained in:
dijunkun
2026-03-02 15:42:44 +08:00
parent b13dac2093
commit 33d51b8ce5
15 changed files with 111 additions and 4 deletions

View File

@@ -32,6 +32,7 @@ class ScreenCapturerWin : public ScreenCapturer {
int Resume(int monitor_index) override;
int SwitchTo(int monitor_index) override;
int ResetToInitialMonitor() override;
std::vector<DisplayInfo> GetDisplayInfoList() override;
@@ -51,4 +52,4 @@ class ScreenCapturerWin : public ScreenCapturer {
void RebuildAliasesFromImpl();
};
} // namespace crossdesk
#endif
#endif