steamcompmgr: Fix on-screen check for override candidates
Fixes Apex Legends Origin signup via. Steam Overlay browser
This commit is contained in:
parent
5b8f9e6a64
commit
bfefe62933
1 changed files with 1 additions and 1 deletions
|
@ -2010,7 +2010,7 @@ static bool is_good_override_candidate( win *override, win* focus )
|
||||||
// Some Chrome/Edge dropdowns (ie. FH5 xbox login) will automatically close themselves if you
|
// Some Chrome/Edge dropdowns (ie. FH5 xbox login) will automatically close themselves if you
|
||||||
// focus them while they are meant to be offscreen (-1,-1 and 1x1) so check that the
|
// focus them while they are meant to be offscreen (-1,-1 and 1x1) so check that the
|
||||||
// override's position is on-screen.
|
// override's position is on-screen.
|
||||||
return win_is_override_redirect(override) && override != focus && override->a.x > 0 && override->a.y > 0;
|
return win_is_override_redirect(override) && override != focus && override->a.x >= 0 && override->a.y >= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|
Loading…
Reference in a new issue