Fix keymap not correctly loading for the Ei backend#2158
Fix keymap not correctly loading for the Ei backend#2158p12tic merged 2 commits intoinput-leap:masterfrom
Conversation
|
Would this apply to deskflow also ? If so would you be would to make a patch. I have changed my layout to "fr" when i type locally i am getting the french keys but when i run the app it still sees English as the layout, and the client will print the "en" layout keys. What method are you using to change the layout ? (this is with deskflow but the code here is basically the same ) |
|
Yes, it appears that deskflow needs the same patch. I will create that momentarily. |
On some systems, the keymap file provided by Ei required to create the XKB context is not properly seeked to the start.
This will cause reading the file to fail (or, more accurately, just cause 0 bytes to be read), causing the keymap to just default to a US-keymap.
This PR fixes this, causing the correct keymap to be loaded.
Contributor Checklist:
doc/newsfragmentsdirectory (and made sure to read theREADME.mdin that directory)