add XkbKeysymToKeycode source link.

This commit is contained in:
m1k1o 2021-04-12 19:43:46 +02:00
parent 4320a2b299
commit f8ba35119e

View File

@ -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;