qt: handle wayland-egl platform name

This commit is contained in:
Liam 2022-12-16 08:47:22 -05:00
parent 9ff891ce71
commit b81caf1879
2 changed files with 7 additions and 3 deletions

View file

@ -2917,7 +2917,8 @@ static QScreen* GuessCurrentScreen(QWidget* window) {
bool GMainWindow::UsingExclusiveFullscreen() {
return Settings::values.fullscreen_mode.GetValue() == Settings::FullscreenMode::Exclusive ||
QGuiApplication::platformName() == QStringLiteral("wayland");
QGuiApplication::platformName() == QStringLiteral("wayland") ||
QGuiApplication::platformName() == QStringLiteral("wayland-egl");
}
void GMainWindow::ShowFullscreen() {