mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Minor fixes to kiosk mode PR
- UI_FULLSCREEN_WINDOWED -> UI_MAXIMIZED - Propagate user configuration from old "start windowed" option - Use FullScreen when a window manager isn't present - Set disabled control to FullScreen with no window manager
This commit is contained in:
1 parent
19dac306d1
commit
5372cfba20
4 files changed
+22
-13
No files matched your search
+2
-2
@@ -20,10 +20,10 @@ ApplicationWindow {
|
||||
visibility: {
|
||||
if (SystemProperties.hasWindowManager) {
|
||||
if (StreamingPreferences.uiDisplayMode == StreamingPreferences.UI_WINDOWED) return "Windowed"
|
||||
else if (StreamingPreferences.uiDisplayMode == StreamingPreferences.UI_FULLSCREEN_WINDOWED) return "Maximized"
|
||||
else if (StreamingPreferences.uiDisplayMode == StreamingPreferences.UI_MAXIMIZED) return "Maximized"
|
||||
else if (StreamingPreferences.uiDisplayMode == StreamingPreferences.UI_FULLSCREEN) return "FullScreen"
|
||||
} else {
|
||||
return "Maximized"
|
||||
return "FullScreen"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user