Keymap issues with Pointer+Keys device
Peter Hutterer
peter.hutterer at who-t.net
Mon Sep 22 00:26:52 PDT 2008
On Tue, Sep 16, 2008 at 11:58:56AM +0200, Sascha Hlusiak wrote:
> BTW: With MPX, having two key devices attached to the first master device
> works fine, regarding the keymap. When creating a second master and attaching
> a keyboard to that, key presses seem to use the keymap of the first master
> device, so of the other keyboard.
Note that if you're using core clients, this is "intended" behaviour.
Remember that the ClientPointer (CP) always assigns a "primary" master device
to a core client.
So the call order is something like:
Client requests keymap, server replies with CP's keymap.
If you then hit a key on kbd 2, the server notifies the client that the
keymap has changed.
Client requests keymap, server replies with CP's keymap.
oops.
solution: fix the client :)
Cheers,
Peter
More information about the xorg
mailing list