summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console-client/xkb/xkbdata.c2
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;
}