mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
Handle scenario with only primary desktop and no desktop switch in current session. (#2339)
* Handle scenario with only primary desktop and no desktop swithc in current session. * Add scoped lock when changing current desktop id. Address PR comments. * Explain purpose of UpdatePrimaryDesktopData method. * Fix typo in documentation.
This commit is contained in:
@@ -6,4 +6,6 @@ namespace VirtualDesktopUtils
|
||||
{
|
||||
bool GetWindowDesktopId(HWND topLevelWindow, GUID* desktopId);
|
||||
bool GetZoneWindowDesktopId(IZoneWindow* zoneWindow, GUID* desktopId);
|
||||
bool GetCurrentVirtualDesktopId(GUID* desktopId);
|
||||
bool GetVirtualDekstopIds(HKEY hKey, std::vector<GUID>& ids);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user