summaryrefslogtreecommitdiff
path: root/src/keymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.h b/src/keymap.h
index dd6bde6..ae86f6b 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -397,7 +397,7 @@ struct xkb_keymap {
char *compat_section_name;
};
-#define xkb_foreach_key(iter, keymap) \
+#define xkb_keys_foreach(iter, keymap) \
for ((iter) = (keymap)->keys + (keymap)->min_key_code; \
(iter) <= (keymap)->keys + (keymap)->max_key_code; \
(iter)++)