- Set Settings window to external display size in gamescope
- Set draggable windows to external display size in gamescope - Do not allow draggable window to be larger than display - Fix for draggable window being the wrong size on start - Unset WAYLAND_DISPLAY if in gamescope mode
This commit is contained in:
parent
e48fecaf74
commit
2becfb5204
3 changed files with 54 additions and 15 deletions
|
|
@ -518,6 +518,11 @@ def entrypoint():
|
|||
log.info("Starting Discover Overlay: %s",
|
||||
pkg_resources.get_distribution('discover_overlay').version)
|
||||
|
||||
# Hedge against the bet gamescope ships with some WAYLAND_DISPLAY
|
||||
# Compatibility and we're not ready yet
|
||||
if 'GAMESCOPE_WAYLAND_DISPLAY' in os.environ:
|
||||
os.unsetenv("WAYLAND_DISPLAY")
|
||||
|
||||
# Catch any errors and log them
|
||||
try:
|
||||
if "--rpc" in sys.argv:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue