From f8ba35119eb740f37576c683c00b120726c058ac Mon Sep 17 00:00:00 2001 From: m1k1o Date: Mon, 12 Apr 2021 19:43:46 +0200 Subject: [PATCH] add XkbKeysymToKeycode source link. --- server/internal/xorg/xorg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/internal/xorg/xorg.c b/server/internal/xorg/xorg.c index e31c6ac8..8defa28a 100644 --- a/server/internal/xorg/xorg.c +++ b/server/internal/xorg/xorg.c @@ -138,6 +138,7 @@ void XButton(unsigned int button, int down) { } } +// From: https://github.com/TigerVNC/tigervnc/blob/0946e298075f8f7b6d63e552297a787c5f84d27c/unix/x0vncserver/XDesktop.cxx#L343-L379 KeyCode XkbKeysymToKeycode(Display *dpy, KeySym keysym) { XkbDescPtr xkb; XkbStateRec state;