[Spice-devel] 0001-a patch for syncing keyboard lock status
Jonathon Jongsma
jjongsma at redhat.com
Wed Apr 2 08:58:07 PDT 2014
How about this alternative approach? It introduces a new central keyboard
monitor object which can keep the registered input channels in sync with the
client keyboard state. This object has an 'override-guest-modifiers' property
which controls whether it will connect to the 'inputs-modifiers' signal on the
inputs channels and override detected changes on the guest with the current
state of the client modifiers. This is the core functionality introduced by the
previous patch, but it is done here in a way that guarantees that the signal
handler is only triggered once. This property is enabled by default.
[PATCH 1/2] Ensure keyboard modifiers are synchronized properly
[PATCH 2/2] Use GdkKeymap to listen for keyboard modifier changes
More information about the Spice-devel
mailing list