From 37aeca8f0629915fbadc3ee90251c03509be7371 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Sat, 13 Jul 2024 13:39:31 -0700 Subject: [PATCH] umu_run: don't close the displays --- umu/umu_run.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/umu/umu_run.py b/umu/umu_run.py index 655cb0eb..a7f736aa 100755 --- a/umu/umu_run.py +++ b/umu/umu_run.py @@ -478,8 +478,6 @@ def get_window_client_ids() -> list[str]: return [] except Exception as e: log.exception(e) - finally: - d.close() return [] @@ -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 @@ -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 @@ -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