Merge pull request #3168 from Jack251970/dev1

Fix operator equal application issue
This commit is contained in:
Kevin Zhang 2025-01-07 22:06:45 -08:00 committed by GitHub
commit 7cccbb07ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ namespace Flow.Launcher.Infrastructure
var numRemaining = hWnds.Count;
PInvoke.EnumWindows((wnd, _) =>
{
var searchIndex = hWnds.FindIndex(x => x.HWND == wnd.Value);
var searchIndex = hWnds.FindIndex(x => new IntPtr(x.HWND) == wnd);
if (searchIndex != -1)
{
z[searchIndex] = index;