File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/modules/fancyzones/lib Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -86,14 +86,7 @@ namespace VirtualDesktopUtils
8686 {
8787 return true ;
8888 }
89- // First fallback scenario is to try obtaining virtual desktop id through IVirtualDesktopManager
90- // interface. Use foreground window (the window with which the user is currently working) to determine
91- // current virtual desktop.
92- else if (GetWindowDesktopId (GetForegroundWindow (), desktopId))
93- {
94- return true ;
95- }
96- // Second fallback scenario is to get array of virtual desktops stored in registry, but not kept per
89+ // First fallback scenario is to get array of virtual desktops stored in registry, but not kept per
9790 // session. Note that we are taking first element from virtual desktop array, which is primary desktop.
9891 // If user has more than one virtual desktop, one of previous functions should return correct value,
9992 // as desktop switch occured in current session.
You can’t perform that action at this time.
0 commit comments