Skip to content

Commit d6514b7

Browse files
committed
steamcompmgr: Do not try to match a dropdown window's PID with the focused window's PID
Some apps, like WebView2 (used in some game launchers) spawn child processes to render dropdowns, so the PIDs would not match, and the dropdown would not be shown. This was the case for e.g. Final Fantasy XIV online.
1 parent c53fcc6 commit d6514b7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/steamcompmgr.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3449,10 +3449,6 @@ static bool is_good_override_candidate( steamcompmgr_win_t *override, steamcompm
34493449
if ( !focus )
34503450
return false;
34513451

3452-
// The pids should probably match for a dropdown to be a good candidate for this window.
3453-
if (override->pid != focus->pid)
3454-
return false;
3455-
34563452
auto rect = override->GetGeometry();
34573453
return override != focus && (rect.nX + rect.nWidth) > 0 && (rect.nY + rect.nHeight) > 0;
34583454
}

0 commit comments

Comments
 (0)