diff --git a/unix/x0vncserver/XDesktop.cxx b/unix/x0vncserver/XDesktop.cxx index 800edaf82..a00f2bc24 100644 --- a/unix/x0vncserver/XDesktop.cxx +++ b/unix/x0vncserver/XDesktop.cxx @@ -492,7 +492,8 @@ KeyCode XDesktop::addKeysym(KeySym keysym) changes.num_key_syms = 1; if (XkbChangeMap(dpy, xkb, &changes)) { - vlog.info("Added unknown keysym %s to keycode %d", XKeysymToString(keysym), key); + vlog.info("Added unknown keysym XK_%s (0x%04x) to keycode %d", + XKeysymToString(keysym), (unsigned)keysym, key); addedKeysyms.push_front({ syms[0], (KeyCode)key }); return key; }