mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add XkbKeysymToKeycode source link.
This commit is contained in:
parent
4320a2b299
commit
f8ba35119e
@ -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) {
|
KeyCode XkbKeysymToKeycode(Display *dpy, KeySym keysym) {
|
||||||
XkbDescPtr xkb;
|
XkbDescPtr xkb;
|
||||||
XkbStateRec state;
|
XkbStateRec state;
|
||||||
|
Loading…
Reference in New Issue
Block a user