commit | ac73038232dd7d6e41006357de2120f580b9f05f | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Wed Aug 16 15:20:20 2017 +0200 |
committer | Pierre Ossman <ossman@cendio.se> | Mon Aug 21 12:04:33 2017 +0200 |
tree | 970e51423ff671c40abe097b49f115a2a0ec9442 | |
parent | d698a6c9536dfa17d8ada12d0dea5c4b53ae08e8 [diff] |
Respect modifiers in x0vncserver Using XKeysymToKeycode() often gives the incorrect keycode as it doesn't respect the current modifier state. Use XKB to find the proper key instead. This however also means that we need to track the mapping for all pressed keys to make sure we know the correct keycode when it is time to release the key.