diff options
author | Diego Nieto Cid <dnietoc@gmail.com> | 2010-07-25 20:07:03 -0300 |
---|---|---|
committer | Diego Nieto Cid <dnietoc@gmail.com> | 2011-04-08 14:36:17 -0300 |
commit | 603c799b9d2e83e404fed519822de1e565ab4ffd (patch) | |
tree | 472b547c09b10b59ac684b373ef2bea9583e7c20 /console-client/xkb | |
parent | 1947d8a1a99974ff008b98a46923ad9ccef28284 (diff) |
Warn when too many virtual modifier are defined.
Diffstat (limited to 'console-client/xkb')
-rw-r--r-- | console-client/xkb/xkbdata.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/console-client/xkb/xkbdata.c b/console-client/xkb/xkbdata.c index 382881b8..ad71e0b3 100644 --- a/console-client/xkb/xkbdata.c +++ b/console-client/xkb/xkbdata.c @@ -376,6 +376,8 @@ vmod_add (char *vmodname) vmodnamel = vmn; lastvmod++; + if (lastvmod > 16) + debug_printf("warning: only sixteen virtual modifiers are supported, %s will not be functional.\n", vmodname); return 0; } |