Qt: Fix returning from fullscreen on MacOS

This commit is contained in:
Stenzek
2023-09-16 22:30:20 +10:00
parent fffde62e3e
commit 546f73e36a
3 changed files with 24 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ public:
void updateCursor(bool hidden);
void handleCloseEvent(QCloseEvent* event);
void destroy();
Q_SIGNALS:
void windowResizedEvent(int width, int height, float scale);
@@ -54,6 +55,7 @@ private:
bool m_clip_mouse_enabled = false;
#endif
bool m_cursor_hidden = false;
bool m_destroying = false;
std::vector<u32> m_keys_pressed_with_modifiers;