aboutsummaryrefslogtreecommitdiff
path: root/xlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'xlib.py')
-rw-r--r--xlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlib.py b/xlib.py
index 09ec18f..051b21f 100644
--- a/xlib.py
+++ b/xlib.py
@@ -66,7 +66,7 @@ class Listener(Thread):
# Create a reveverse dictionnary for getting the users added first
# In python, the elements in a dictionnary are sorted by insertion
# order, so we get the user added first here
- for pattern in reversed(self.mapping):
+ for pattern in reversed(self.mapping.keys()):
# Ignore the default layout
if pattern == "default":
continue