From 8452280edfe14b86d4f6265e420dacb3ab6e2e89 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Fri, 9 Feb 2024 22:46:30 -0600 Subject: [PATCH] disable virtualdesktopmanagerinternal as it is causing too much issue --- Components/VirtualDesktopManager.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Components/VirtualDesktopManager.cs b/Components/VirtualDesktopManager.cs index c29967d..385eaa3 100644 --- a/Components/VirtualDesktopManager.cs +++ b/Components/VirtualDesktopManager.cs @@ -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)