From ac4fa300658b962c43768bc0867a1f46fdb23272 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 4 May 2025 17:22:50 +0200 Subject: Updated the main code --- xlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlib.py') 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 -- cgit v1.2.3