From bfefe62933ef2e27601e4933c29a138456498b97 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sun, 27 Feb 2022 09:36:34 +0000 Subject: [PATCH] steamcompmgr: Fix on-screen check for override candidates Fixes Apex Legends Origin signup via. Steam Overlay browser --- src/steamcompmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index f413c11..d2ded6c 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -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 // focus them while they are meant to be offscreen (-1,-1 and 1x1) so check that the // 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