Skip to content

Commit

Permalink
disable virtualdesktopmanagerinternal as it is causing too much issue
Browse files Browse the repository at this point in the history
  • Loading branch information
taooceros committed Feb 10, 2024
1 parent d414f59 commit 8452280
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Components/VirtualDesktopManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ private static void Init()

private static void InitializeVirtualDesktopManagerInternal(IServiceProvider10? shell)
{
if (Environment.OSVersion.Version.Build >= 22631)
VirtualDesktopManagerInternal = (IVirtualDesktopManagerInternal?)shell?.QueryService(
Guids.CLSID_VirtualDesktopManagerInternal,
typeof(IVirtualDesktopManagerInternal).GUID);
// if (Environment.OSVersion.Version.Build >= 22631)
// VirtualDesktopManagerInternal = (IVirtualDesktopManagerInternal?)shell?.QueryService(
// Guids.CLSID_VirtualDesktopManagerInternal,
// typeof(IVirtualDesktopManagerInternal).GUID);
}

internal static IApplicationView GetApplicationView(this IntPtr hWnd)
Expand Down

0 comments on commit 8452280

Please sign in to comment.