summaryrefslogtreecommitdiff
path: root/cs2pov
diff options
context:
space:
mode:
Diffstat (limited to 'cs2pov')
-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,