Closed WhoAteDaCake closed 2 years ago
// Can probably be done once, when a display is created ?
XDisplayKeycodes(x11->display, &min, &max);
I think your current solution is OK,, because it is not necessary to reduce the number of calls to XDisplayKeycodes()
.
Describe the bug
Using the symbol keys like £ or % without holding a shift would not enter the keys correctly
To Reproduce Steps to reproduce the behavior:
Expected behavior Would expect number 3 to appear on the screen
Environment (please complete the following information): It's a LINUX x11 problem
Additional context
I think it can be resolved like the following: