From 70ed3abcb51539a7e3cce636a5488da60af0c5fa Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Sat, 13 Sep 2025 16:28:19 +0500 Subject: [PATCH] fix add game dialog navigation on keyboard Signed-off-by: Boris Yumankulov --- portprotonqt/input_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portprotonqt/input_manager.py b/portprotonqt/input_manager.py index 07a51f7..72f1bd5 100644 --- a/portprotonqt/input_manager.py +++ b/portprotonqt/input_manager.py @@ -600,11 +600,11 @@ class InputManager(QObject): try: app = QApplication.instance() - if not app or not self._parent.isActiveWindow(): - return active = QApplication.activeWindow() focused = QApplication.focusWidget() popup = QApplication.activePopupWidget() + if not app or not active: + return # Update D-pad state if value != 0: