summaryrefslogtreecommitdiffstats
path: root/client/inputs_channel.cpp
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-18 16:31:31 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-18 16:32:10 +0200
commit1ba1ce52ed2b70c9d5671f17e8047c3d548da96a (patch)
tree5f8bb89b185f3b0e0fe00aced977dd5d0afd9755 /client/inputs_channel.cpp
parentef8a8dae07f400f2573fc6f507bd98c6815d816e (diff)
downloadspice-1ba1ce52ed2b70c9d5671f17e8047c3d548da96a.tar.gz
spice-1ba1ce52ed2b70c9d5671f17e8047c3d548da96a.tar.xz
spice-1ba1ce52ed2b70c9d5671f17e8047c3d548da96a.zip
Use the new enums for keyboard modifier flags
Diffstat (limited to 'client/inputs_channel.cpp')
-rw-r--r--client/inputs_channel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/inputs_channel.cpp b/client/inputs_channel.cpp
index 21a14120..46fc0157 100644
--- a/client/inputs_channel.cpp
+++ b/client/inputs_channel.cpp
@@ -376,15 +376,15 @@ void InputsChannel::set_local_modifiers()
{
unsigned int modifiers = 0;
- if (_modifiers & SPICE_SCROLL_LOCK_MODIFIER) {
+ if (_modifiers & SPICE_KEYBOARD_MODIFIER_FLAGS_SCROLL_LOCK) {
modifiers |= Platform::SCROLL_LOCK_MODIFIER;
}
- if (_modifiers & SPICE_NUM_LOCK_MODIFIER) {
+ if (_modifiers & SPICE_KEYBOARD_MODIFIER_FLAGS_NUM_LOCK) {
modifiers |= Platform::NUM_LOCK_MODIFIER;
}
- if (_modifiers & SPICE_CAPS_LOCK_MODIFIER) {
+ if (_modifiers & SPICE_KEYBOARD_MODIFIER_FLAGS_CAPS_LOCK) {
modifiers |= Platform::CAPS_LOCK_MODIFIER;
}