summaryrefslogtreecommitdiffstats
path: root/client/cursor_channel.cpp
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-05-21 11:14:29 +0200
committerAlexander Larsson <alexl@redhat.com>2010-05-21 11:14:29 +0200
commitf9da2720ae15536ef31ec3c7cefd7a8332fe41e8 (patch)
treeab196db969ec62997d72000d1292858dfff9e69d /client/cursor_channel.cpp
parentd69b0829a6eea44939514ddef6aec62649e5b7eb (diff)
downloadspice-f9da2720ae15536ef31ec3c7cefd7a8332fe41e8.tar.gz
spice-f9da2720ae15536ef31ec3c7cefd7a8332fe41e8.tar.xz
spice-f9da2720ae15536ef31ec3c7cefd7a8332fe41e8.zip
Fix some misspelled identifiers
severty -> severity SpiceResorceID -> SpiceResourceID SpiceResorceList -> SpiceResourceList resorces -> resources ped_size -> pad_size postition -> position
Diffstat (limited to 'client/cursor_channel.cpp')
-rw-r--r--client/cursor_channel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/cursor_channel.cpp b/client/cursor_channel.cpp
index cc5d4263..44cacd47 100644
--- a/client/cursor_channel.cpp
+++ b/client/cursor_channel.cpp
@@ -580,8 +580,8 @@ void CursorChannel::handle_reset(RedPeer::InMessage *message)
void CursorChannel::handle_cursor_set(RedPeer::InMessage* message)
{
SpiceMsgCursorSet* set = (SpiceMsgCursorSet*)message->data();
- set_cursor(set->cursor, message->size() - sizeof(SpiceMsgCursorSet), set->postition.x,
- set->postition.y, set->visible != 0);
+ set_cursor(set->cursor, message->size() - sizeof(SpiceMsgCursorSet), set->position.x,
+ set->position.y, set->visible != 0);
}
void CursorChannel::handle_cursor_move(RedPeer::InMessage* message)
@@ -594,8 +594,8 @@ void CursorChannel::handle_cursor_move(RedPeer::InMessage* message)
Lock lock(_update_lock);
_cursor_visible = true;
- int dx = move->postition.x - _hot_pos.x;
- int dy = move->postition.y - _hot_pos.y;
+ int dx = move->position.x - _hot_pos.x;
+ int dy = move->position.y - _hot_pos.y;
_hot_pos.x += dx;
_hot_pos.y += dy;
_cursor_rect.left += dx;