From: Pierre Ossman Date: Tue, 6 Aug 2024 12:55:37 +0000 (+0200) Subject: Improve x0vncserver key allocation log line X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=948be98f5210673a809fb8cc1b3b264b0efc1244;p=tigervnc.git Improve x0vncserver key allocation log line Follow the standard XK_ prefix, and also include the hex value for easier debugging. --- diff --git a/unix/x0vncserver/XDesktop.cxx b/unix/x0vncserver/XDesktop.cxx index 800edaf8..a00f2bc2 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; }