From a845a0395abfc87f319603b28affe15871f0a6ad Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 8 Sep 2020 18:52:11 +0200 Subject: [PATCH] Input/Qt: Properly reset mouse hide timer --- rpcs3/rpcs3qt/gs_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/gs_frame.cpp b/rpcs3/rpcs3qt/gs_frame.cpp index 0595bbe10f..e3732aac33 100644 --- a/rpcs3/rpcs3qt/gs_frame.cpp +++ b/rpcs3/rpcs3qt/gs_frame.cpp @@ -590,7 +590,7 @@ bool gs_frame::event(QEvent* ev) } close(); } - else if (ev->type() == QEvent::MouseMove && !m_show_mouse) + else if (ev->type() == QEvent::MouseMove && (!m_show_mouse || m_mousehide_timer.isActive())) { // This will make the cursor visible again if it was hidden by the mouse idle timeout handle_cursor(visibility(), false, true);