summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-06-05 14:23:09 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-06-05 14:35:21 +1000
commitc8cfca25ab2ed65013448f7502bae933c66390ae (patch)
treedddd8e45caae7390768c199b644067918a80c162
parentdcaa947c488b4cb458946ab9c19579f7c866cbd4 (diff)
Don't pretend unresolved symbols are an error
Whenever xkeyboard-config is newer than xorgproto, or libX11 just hasn't yet been rebuilt against the protocol we end up with some unresolved symbols. That's not an error, it just happens. Let's downgrade this to a warning instead. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbols.c b/symbols.c
index 3fe0195..ece1caa 100644
--- a/symbols.c
+++ b/symbols.c
@@ -968,7 +968,7 @@ AddSymbolsToKey(KeyInfo * key,
key->symsDefined |= (1 << ndx);
for (i = 0; i < nSyms; i++) {
if (!LookupKeysym(value->value.list.syms[i], &key->syms[ndx][i])) {
- WSGO1("Could not resolve keysym %s\n", value->value.list.syms[i]);
+ WARN2("Could not resolve keysym %s\n", value->value.list.syms[i]);
key->syms[ndx][i] = NoSymbol;
}
}