Browse Source

set window geometry to primaryScreen geometry instead of just it's size / added Cursos resize to

Xgreeter
sisyphus
Guillaume BOEHM 3 years ago
parent
commit
884f84bc0b
  1. 1
      dist/Xgreeter
  2. 5
      src/browser/browser.py

1
dist/Xgreeter vendored

@ -2,6 +2,7 @@
#
# LightDM wrapper to run around greeter X sessions.
export XCURSOR_SIZE=16
xsetroot -cursor_name left_ptr
exec $@

5
src/browser/browser.py

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

Loading…
Cancel
Save