mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
Compare window desktop id with currently active work area desktop id. (#2110)
* Compare window desktop id with currently active work area desktop id. * Improve error handling and conform to coding guidelines. * Move virtual desktop helper functions to ZoneWindowUtils namespace. * Ensure thread safety when creating instance of VirtualDesktopManager. * Remove static qualifier from ServiceProvider. * Return instead of break, as there is no need to check for other monitors, virtual desktop is the same for all. * Move virtual desktop related helper functions to separate files. * Skip comparing desktop ids if zone window has empty GUID for desktop id. * Add comment describion scenario for which we need this fix.
This commit is contained in:
@@ -103,6 +103,7 @@
|
||||
<ClInclude Include="Settings.h" />
|
||||
<ClInclude Include="trace.h" />
|
||||
<ClInclude Include="util.h" />
|
||||
<ClInclude Include="VirtualDesktopUtils.h" />
|
||||
<ClInclude Include="Zone.h" />
|
||||
<ClInclude Include="ZoneSet.h" />
|
||||
<ClInclude Include="ZoneWindow.h" />
|
||||
@@ -117,6 +118,7 @@
|
||||
<ClCompile Include="Settings.cpp" />
|
||||
<ClCompile Include="trace.cpp" />
|
||||
<ClCompile Include="util.cpp" />
|
||||
<ClCompile Include="VirtualDesktopUtils.cpp" />
|
||||
<ClCompile Include="Zone.cpp" />
|
||||
<ClCompile Include="ZoneSet.cpp" />
|
||||
<ClCompile Include="ZoneWindow.cpp" />
|
||||
|
||||
Reference in New Issue
Block a user