mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
Input/Qt: Properly reset mouse hide timer
This commit is contained in:
parent
f0053bfc1a
commit
a845a0395a
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ bool gs_frame::event(QEvent* ev)
|
||||||
}
|
}
|
||||||
close();
|
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
|
// This will make the cursor visible again if it was hidden by the mouse idle timeout
|
||||||
handle_cursor(visibility(), false, true);
|
handle_cursor(visibility(), false, true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue