[Spice-commits] client/red_window.h client/screen.cpp client/windows client/x11

Marc-André Lureau elmarco at kemper.freedesktop.org
Tue Dec 13 15:28:00 PST 2011


 client/red_window.h           |    2 +-
 client/screen.cpp             |    2 +-
 client/windows/red_window.cpp |    2 +-
 client/x11/red_window.cpp     |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 5b042031b0bdacde4d5306c860ced6372f8f4104
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Wed Dec 14 00:27:17 2011 +0100

    spelling: s/cupture/capture

diff --git a/client/red_window.h b/client/red_window.h
index dc5bad7..3dea26b 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 317618b..94f3bdc 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 c86c458..1345e91 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 2e98ae2..0c95925 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);


More information about the Spice-commits mailing list