diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2016-09-02 22:40:19 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2017-02-01 15:15:34 +0000 |
commit | 6c51abc5ec640b1f9fedb43d9b21936272fab49c (patch) | |
tree | 96f43e4daa1bd1fab26b9e9e86aa90df8055436d /COPYING | |
parent | 72f87c665643de6807b97e11b80833e4ac8c380b (diff) |
Sync only on focus changeclient_sync
Limit the virtual keystrokes sent to the remote machine.
The modifiers are synced only when the application receive or lose
the focus. This reduce a lot the possible virtual keystrokes sent
to the guest to synchronize the modifiers.
This affect the situations where modifiers are configured
differently in client and guest.
When the application receive the focus the synchronization is
attempted from client to guest while when the application lose
focus is attempted guest to client (basically is moved following
user moving).
This patch is actually not complete but more an RFC:
- only X11 and Windows are currently supported;
- what happen with multimonitors? I don't think this patch
it's causing regressions anyway;
- there are some possible changes in behavior for
keymap_modifiers_changed;
- one possible regression is that if you are using virt-viewer
and the guest is booted it's possible the boot process will switch
modifiers status. Honestly I consider this more of an improvement
than a regression.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions