We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a34136f + 56069e6 commit 7cccbb0Copy full SHA for 7cccbb0
Flow.Launcher.Infrastructure/FileExplorerHelper.cs
@@ -68,7 +68,7 @@ private static IEnumerable<int> GetZOrder(List<dynamic> hWnds)
68
var numRemaining = hWnds.Count;
69
PInvoke.EnumWindows((wnd, _) =>
70
{
71
- var searchIndex = hWnds.FindIndex(x => x.HWND == wnd.Value);
+ var searchIndex = hWnds.FindIndex(x => new IntPtr(x.HWND) == wnd);
72
if (searchIndex != -1)
73
74
z[searchIndex] = index;
0 commit comments