diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-11-03 09:01:19 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-11-04 07:54:00 +1000 |
commit | 26d1c57a938ce5c0d4fd9d645ace25308e6a7070 (patch) | |
tree | 35f05376a09a316e921ee98d2142f5a404b989dc /vmod.c | |
parent | 511adde23a0518db0379b444580b63edcb9138a8 (diff) |
symbols: increase the warning level for shortening a key type
Any use of the german keyboard layout or anything else using
level3(ralt_switch) produces the warning
Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
Ignoring extra symbols
This warning is meaningless, the default definition for RALT comes from
pc(pc105) including altwin(meta_alt) which defines it as TWO_LEVEL
and { Alt_R, Meta_R }. Including level3(ralt_switch) correctly sets it as
ONE_LEVEL but now we get the warning. That makes users file bug reports and we
can't be having that, can we?
Up the warning level for this case to one past the default. The warning is
only useful when you're testing a new keyboard layout or trying to fix an
actual bug with missing symbols. And then you can run xkbcomp with -w10.
No need to spam the log on every server startup.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'vmod.c')
0 files changed, 0 insertions, 0 deletions