xpra icon
Bug tracker and wiki

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#26 closed enhancement (fixed)

keyboard detection code should live in platform

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 0.0.7.x
Component: platforms Version: 0.0.7.26
Keywords: Cc:

Description

rather than exporting X11_KEYMAPS from the platform code:

from xpra.platform import X11_KEYMAPS

We should export a get_keymapping_data method from there which returns (xkbmap_print, xkbmap_query, xmodmap_data).
The existing code can then be moved to the posix implementation and we then have the possibility of doing something else for osx/win32 (returning None until implemented).

Change History (3)

comment:1 Changed 8 years ago by Antoine Martin

Component: androidplatforms
Status: newaccepted

comment:2 Changed 8 years ago by Antoine Martin

Resolution: fixed
Status: acceptedclosed

done in r187

Also the server only applies a keymap when needed (when a client connects) rather than on start.

comment:3 Changed 8 years ago by Antoine Martin

Version: 0.0.7.26
Note: See TracTickets for help on using tickets.