Skip to content

Commit

Permalink
umu_run: don't close the displays
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jul 13, 2024
1 parent bf2b690 commit 37aeca8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,6 @@ def get_window_client_ids() -> list[str]:
return []
except Exception as e:
log.exception(e)
finally:
d.close()

return []

Expand Down Expand Up @@ -525,8 +523,6 @@ def set_steam_game_property( # noqa: D103
window_id,
)
log.exception(e)
finally:
d.close()


def get_gamescope_baselayer_order() -> list[int] | None: # noqa: D103
Expand Down Expand Up @@ -558,8 +554,6 @@ def get_gamescope_baselayer_order() -> list[int] | None: # noqa: D103
except Exception as e:
log.error("Error getting GAMESCOPECTRL_BASELAYER_APPID property")
log.exception(e)
finally:
d.close()

return None

Expand Down Expand Up @@ -607,8 +601,6 @@ def set_gamescope_baselayer_order(rearranged: list[int]) -> None: # noqa
except Exception as e:
log.error("Error setting GAMESCOPECTRL_BASELAYER_APPID property")
log.exception(e)
finally:
d.close()


def window_setup(gamescope_baselayer_sequence: list[int]) -> None: # noqa
Expand Down

0 comments on commit 37aeca8

Please sign in to comment.