mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #5748 from nitrousox1de/hide-mouse-delay-fullscreen
Hide mouse delay fullscreen
This commit is contained in:
@ -7,6 +7,8 @@
|
||||
#include <QEvent>
|
||||
#include <QWidget>
|
||||
|
||||
class QTimer;
|
||||
|
||||
class RenderWidget final : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -23,5 +25,9 @@ signals:
|
||||
void StateChanged(bool fullscreen);
|
||||
|
||||
private:
|
||||
void HandleCursorTimer();
|
||||
void OnHideCursorChanged();
|
||||
|
||||
static constexpr int MOUSE_HIDE_DELAY = 3000;
|
||||
QTimer* m_mouse_timer;
|
||||
};
|
||||
|
Reference in New Issue
Block a user