Qt: Improve handling of exclusive fullscreen loss

Exclusive fullscreen will be re-requested automatically when the window
regains focus.
This commit is contained in:
Connor McLaughlin
2021-02-25 12:51:43 +10:00
parent defea38a60
commit bfb575cf40
6 changed files with 56 additions and 9 deletions

View File

@@ -180,6 +180,7 @@ public Q_SLOTS:
private Q_SLOTS:
void doStopThread();
void onHostDisplayWindowResized(int width, int height);
void onHostDisplayWindowFocused();
void doBackgroundControllerPoll();
void doSaveSettings();
@@ -276,4 +277,5 @@ private:
bool m_is_rendering_to_main = false;
bool m_is_fullscreen = false;
bool m_is_exclusive_fullscreen = false;
bool m_lost_exclusive_fullscreen = false;
};