summaryrefslogtreecommitdiffstats
path: root/client/inputs_channel.cpp
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-08 18:26:37 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-08 18:26:37 +0200
commit1a6e77d6d4da9c73dc706574ea3e3fbaa8142f29 (patch)
tree4299cdcfbdf378b575948f0870ef6c365a9e8095 /client/inputs_channel.cpp
parent925f6387c8b5bd63ecd128c9187d8424607e0fa8 (diff)
downloadspice-1a6e77d6d4da9c73dc706574ea3e3fbaa8142f29.tar.gz
spice-1a6e77d6d4da9c73dc706574ea3e3fbaa8142f29.tar.xz
spice-1a6e77d6d4da9c73dc706574ea3e3fbaa8142f29.zip
Fix various misspellings
letancy -> latency compund -> compound SpicedSubMessage -> SpiceSubMessage modifaiers -> modifiers massage -> message outgoiong -> outgoing AlphaBlnd -> AlphaBlend remoth -> remote modifires -> modifiers secore -> secure
Diffstat (limited to 'client/inputs_channel.cpp')
-rw-r--r--client/inputs_channel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/inputs_channel.cpp b/client/inputs_channel.cpp
index 09fc9e17..9ff5479f 100644
--- a/client/inputs_channel.cpp
+++ b/client/inputs_channel.cpp
@@ -23,7 +23,7 @@
#include "application.h"
#include "display_channel.h"
-#define SYNC_REMOTH_MODIFIRES
+#define SYNC_REMOTE_MODIFIERS
class SetInputsHandlerEvent: public Event {
public:
@@ -187,7 +187,7 @@ InputsChannel::InputsChannel(RedClient& client, uint32_t id)
handler->set_handler(SPICE_MSG_NOTIFY, &InputsChannel::handle_notify);
handler->set_handler(SPICE_MSG_INPUTS_INIT, &InputsChannel::handle_init);
- handler->set_handler(SPICE_MSG_INPUTS_KEY_MODIFIERS, &InputsChannel::handle_modifaiers);
+ handler->set_handler(SPICE_MSG_INPUTS_KEY_MODIFIERS, &InputsChannel::handle_modifiers);
handler->set_handler(SPICE_MSG_INPUTS_MOUSE_MOTION_ACK, &InputsChannel::handle_motion_ack);
}
@@ -217,7 +217,7 @@ void InputsChannel::handle_init(RedPeer::InMessage* message)
get_client().push_event(*set_handler_event);
}
-void InputsChannel::handle_modifaiers(RedPeer::InMessage* message)
+void InputsChannel::handle_modifiers(RedPeer::InMessage* message)
{
SpiceMsgInputsKeyModifiers* init = (SpiceMsgInputsKeyModifiers*)message->data();
_modifiers = init->modifiers;
@@ -404,7 +404,7 @@ void InputsChannel::set_local_modifiers()
void InputsChannel::on_focus_in()
{
-#ifdef SYNC_REMOTH_MODIFIRES
+#ifdef SYNC_REMOTE_MODIFIERS
Message* message = new Message(SPICE_MSGC_INPUTS_KEY_MODIFIERS);
SpiceMsgcKeyModifiers modifiers;
modifiers.modifiers = Platform::get_keyboard_lock_modifiers();