Fix fullscreen check only returning true if window is focused on Linux

This commit is contained in:
Myned
2020-05-21 00:40:37 -04:00
parent be83232caa
commit de5b6f8eb4
2 changed files with 74 additions and 34 deletions

View File

@@ -136,7 +136,7 @@ public slots:
void GetWindowList(std::vector<std::string> &windows);
void GetWindowList(QStringList &windows); // Overloaded
void GetCurrentWindowTitle(std::string &title);
bool isFullscreen();
bool isFullscreen(std::string &title);
/********************************************************************************
* Screenregion helper