diff options
| author | Schark <jordan@schark.online> | 2026-03-26 18:12:37 -0400 |
|---|---|---|
| committer | Schark <jordan@schark.online> | 2026-03-26 18:12:37 -0400 |
| commit | 376005cdc717551c9db8d8a430a5efdb5b72fe07 (patch) | |
| tree | cb44ab1a68c263acfd17b874ac382736e1462f35 | |
| parent | 8b90588dea10bf10d603c00c667acdda8c7930ca (diff) | |
| download | cs2pov-376005cdc717551c9db8d8a430a5efdb5b72fe07.tar.gz cs2pov-376005cdc717551c9db8d8a430a5efdb5b72fe07.zip | |
Fix window detection!HEADmasterfeat/windows-compatability
| -rw-r--r-- | cs2pov/automation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cs2pov/automation.py b/cs2pov/automation.py index ee8347d..1547664 100644 --- a/cs2pov/automation.py +++ b/cs2pov/automation.py @@ -30,7 +30,7 @@ def find_cs2_window(display: str = ":0") -> Optional[str]: try: result = subprocess.run( - ["xdotool", "search", "--class", "cs2"], + ["xdotool", "search", "--class", "^cs2$"], capture_output=True, text=True, timeout=5, |
