Commit e77712bd2725d87b9823204e2a73e527fa598aec

Hardening 2014-01-08T21:22:45

Add a constant for NumLock This trivial patch adds the name of the Numlock modifier

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/xkbcommon/xkbcommon-names.h b/xkbcommon/xkbcommon-names.h
index db071d8..ecb551f 100644
--- a/xkbcommon/xkbcommon-names.h
+++ b/xkbcommon/xkbcommon-names.h
@@ -35,6 +35,7 @@
 #define XKB_MOD_NAME_CAPS       "Lock"
 #define XKB_MOD_NAME_CTRL       "Control"
 #define XKB_MOD_NAME_ALT        "Mod1"
+#define XKB_MOD_NAME_NUM        "Mod2"
 #define XKB_MOD_NAME_LOGO       "Mod4"
 
 #define XKB_LED_NAME_CAPS       "Caps Lock"