We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6dcd6c commit b633694Copy full SHA for b633694
src/steamcompmgr.cpp
@@ -3310,6 +3310,12 @@ win_maybe_a_dropdown( steamcompmgr_win_t *w )
3310
( ( w->hwndStyleEx & invalidLayered ) == 0 ) )
3311
return true;
3312
3313
+ // Forza Horizon 4 & 5 create a black background window that might incorrectly
3314
+ // be considered a valid dropdown and steal focus.
3315
+ if ( ( w->appID == 1293830 || w->appID == 1551360 ) &&
3316
+ w->maybe_a_dropdown && w->requestedWidth == 0 && w->requestedHeight == 0 )
3317
+ return false;
3318
+
3319
// Josh:
3320
// The logic here is as follows. The window will be treated as a dropdown if:
3321
//
0 commit comments