Merge pull request #411 from aclist/fix/deck-unfullscreen
Some checks are pending
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run

fix: delegate dialog size to system settings on Steam Deck
This commit is contained in:
aclist 2026-07-21 15:22:37 +09:00 committed by GitHub
commit cdcb3b794f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -439,9 +439,7 @@ class CompletionPage(ScrolledWizardPage):
class Assistant(Gtk.Assistant):
def __init__(self, is_deck: bool, XDG: "Xdg"):
super().__init__()
if is_deck:
self.fullscreen()
else:
if not is_deck:
self.set_default_size(1500, 900)
self.config_path = XDG.config