mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-08-03 11:27:33 -04:00
force fullscreen in gamescope
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
078de50951
commit
e7b4eb99c2
@ -234,6 +234,8 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWi
|
||||
// does not implement decorations
|
||||
if (qgetenv("XDG_CURRENT_DESKTOP") == "gamescope") {
|
||||
ui->mainToolBar->addAction(ui->actionCloseWindow);
|
||||
showFullScreen();
|
||||
setFixedSize(this->width(), this->height());
|
||||
}
|
||||
|
||||
ui->actionViewJavaFolder->setEnabled(BuildConfig.JAVA_DOWNLOADER_ENABLED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user