summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-12-14 00:27:17 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-12-14 00:27:17 +0100
commit5b042031b0bdacde4d5306c860ced6372f8f4104 (patch)
tree82952adf38f0b3e6bdc5f3460d3ae444037cad9d
parentdedaa9ac39acc2235d1839cdc5ff291c90f158be (diff)
downloadspice-5b042031b0bdacde4d5306c860ced6372f8f4104.tar.gz
spice-5b042031b0bdacde4d5306c860ced6372f8f4104.tar.xz
spice-5b042031b0bdacde4d5306c860ced6372f8f4104.zip
spelling: s/cupture/capture
-rw-r--r--client/red_window.h2
-rw-r--r--client/screen.cpp2
-rw-r--r--client/windows/red_window.cpp2
-rw-r--r--client/x11/red_window.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/client/red_window.h b/client/red_window.h
index dc5bad79..3dea26bd 100644
--- a/client/red_window.h
+++ b/client/red_window.h
@@ -66,7 +66,7 @@ public:
void set_cursor(LocalCursor* local_cursor);
void hide_cursor();
void show_cursor();
- void cupture_mouse();
+ void capture_mouse();
void release_mouse();
void start_key_interception();
void stop_key_interception();
diff --git a/client/screen.cpp b/client/screen.cpp
index 317618be..94f3bdcc 100644
--- a/client/screen.cpp
+++ b/client/screen.cpp
@@ -537,7 +537,7 @@ void RedScreen::capture_mouse()
_mouse_captured = true;
_window.hide_cursor();
reset_mouse_pos();
- _window.cupture_mouse();
+ _window.capture_mouse();
}
void RedScreen::relase_mouse()
diff --git a/client/windows/red_window.cpp b/client/windows/red_window.cpp
index c86c458e..1345e918 100644
--- a/client/windows/red_window.cpp
+++ b/client/windows/red_window.cpp
@@ -695,7 +695,7 @@ bool RedWindow::get_mouse_anchor_point(SpicePoint& pt)
return true;
}
-void RedWindow::cupture_mouse()
+void RedWindow::capture_mouse()
{
RECT client_rect;
POINT origin;
diff --git a/client/x11/red_window.cpp b/client/x11/red_window.cpp
index 2e98ae25..0c959256 100644
--- a/client/x11/red_window.cpp
+++ b/client/x11/red_window.cpp
@@ -1867,7 +1867,7 @@ void RedWindow::release_mouse()
sync(true);
}
-void RedWindow::cupture_mouse()
+void RedWindow::capture_mouse()
{
int grab_retries = MOUSE_GRAB_RETRIES;
XLockDisplay(x_display);