aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlib.py b/xlib.py
index 3e43e51..bc2032c 100644
--- a/xlib.py
+++ b/xlib.py
@@ -66,7 +66,7 @@ class Listener(Thread):
found = True
if code != self.last_code:
- component.handle(Debug("Switching to '%s' for '%s'" % (code, window_name)))
+ component.handle(Debug("Switching to '%s' for '%s'" % (pattern, window_name)))
self.queue.put ( (code, None) )
self.last_code = code
break