Browse Source

Merge pull request #35 from guillaumeboehm/master

Fix positioning on multiple screens
sisyphus
Jezer Mejía 3 years ago committed by GitHub
parent
commit
bc7a4b6c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/browser/browser.py

5
src/browser/browser.py

@ -138,10 +138,7 @@ class Application:
self.window.windowFlags() | Qt.MaximizeUsingFullscreenGeometryHint self.window.windowFlags() | Qt.MaximizeUsingFullscreenGeometryHint
) )
screen_size = self.desktop.availableGeometry().size() self.window.setGeometry(self.app.primaryScreen().geometry())
self.window.setBaseSize(screen_size)
self.window.resize(screen_size)
state = self.states['NORMAL'] state = self.states['NORMAL']
if web_greeter_config["app"]["fullscreen"]: if web_greeter_config["app"]["fullscreen"]:

Loading…
Cancel
Save