From dab989fa0da42675dc8b1b8cf385b3213740a193 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:24:07 -0700 Subject: [PATCH] umu_run: list all files in /tmp/.X11-unix --- umu/umu_run.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/umu/umu_run.py b/umu/umu_run.py index 0afe55f86..1260a7779 100755 --- a/umu/umu_run.py +++ b/umu/umu_run.py @@ -642,9 +642,7 @@ def monitor_windows( def discover_gamescope_displays() -> list[display.Display]: """Find all gamescope displays.""" - sockets: list[Path] = [ - path for path in Path("/tmp/.X11-unix").glob("*") if path.is_socket() - ] + sockets: list[Path] = list(Path("/tmp/.X11-unix").glob("*")) displays: list[display.Display] = [] for sock in sockets: