summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchark <jordan@schark.online>2026-03-26 18:12:37 -0400
committerSchark <jordan@schark.online>2026-03-26 18:12:37 -0400
commit376005cdc717551c9db8d8a430a5efdb5b72fe07 (patch)
treecb44ab1a68c263acfd17b874ac382736e1462f35
parent8b90588dea10bf10d603c00c667acdda8c7930ca (diff)
downloadcs2pov-376005cdc717551c9db8d8a430a5efdb5b72fe07.tar.gz
cs2pov-376005cdc717551c9db8d8a430a5efdb5b72fe07.zip
Diffstat (limited to '')
-rw-r--r--cs2pov/automation.py2
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,