mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-18 00:09:11 +00:00
Merge pull request #5748 from nitrousox1de/hide-mouse-delay-fullscreen
Hide mouse delay fullscreen
This commit is contained in:
commit
438610a58d
6 changed files with 50 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue