Skip to content

Commit

Permalink
umu_run: add debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Aug 13, 2024
1 parent fd85d80 commit 53f683d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ def discover_gamescope_displays() -> list[display.Display]:
displays: list[display.Display] = []

for sock in sockets:
log.debug("Socket: %s", sock)
display_no = f":{sock.name.removeprefix('X')}"

try:
Expand Down Expand Up @@ -746,7 +747,9 @@ def run_command(command: list[AnyPath]) -> int:
if os.environ.get("XDG_CURRENT_DESKTOP") == "gamescope":
log.debug("SteamOS gamescope session detected")
gamescope_displays = discover_gamescope_displays()
log.debug("Gamescope displays: %s", gamescope_displays)
d_primary = get_gamescope_xwayland_primary(gamescope_displays)
log.debug("Gamescope primary display: %s", d_primary)
gamescope_baselayer_sequence = get_gamescope_baselayer_order(d_primary)

# Currently, steamos creates two xwayland servers
Expand Down

0 comments on commit 53f683d

Please sign in to comment.