summaryrefslogtreecommitdiffstats
path: root/client/x11
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-08-16 11:14:44 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-08-17 10:42:18 +0200
commitf2b4c3d21aed0018dc7014542f76b64e6aa57ce6 (patch)
treee9894d758dc274b55609c52e131b81bc28fe7dce /client/x11
parent0d4bd55042391d7cbbc9f21725aba02e50174d5b (diff)
downloadspice-f2b4c3d21aed0018dc7014542f76b64e6aa57ce6.tar.gz
spice-f2b4c3d21aed0018dc7014542f76b64e6aa57ce6.tar.xz
spice-f2b4c3d21aed0018dc7014542f76b64e6aa57ce6.zip
fix harmless typo in InputsChannel::handle_modifiers
InputsChannel::handle_modifiers converts _modifiers which is a bitflag of SPICE_KEYBOARD_MODIFIER_FLAGS_* to a Platform::*_MODIFIER bitflag, which is what Platform::set_keyboard_lock_modifiers expects. However, it's called with _modifiers, and the bitflag that this function computes is never used. Pass the computed bitflag to ::set_keyboard_lock_modifiers since _modifiers format is meaningless for ::set_keyboard_lock_modifiers. This bug was harmless because the two different set of modifier flags actually use the same values, so _modifiers and modifiers could be used interchangeably. However it's more future-proof to use the right format here.
Diffstat (limited to 'client/x11')
0 files changed, 0 insertions, 0 deletions