From 82adeb988b11f1d6bf97f8e1f86ed0e72c59b097 Mon Sep 17 00:00:00 2001 From: Dave Vasilevsky Date: Sun, 7 Apr 2013 18:12:50 -0400 Subject: [PATCH] SDL: Remove unused method and ivars mouse_last_x, mouse_last_y and driver_window::mouse_moved() look like remnants of X11 video, they're never really used. --- BasiliskII/src/SDL/video_sdl.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/BasiliskII/src/SDL/video_sdl.cpp b/BasiliskII/src/SDL/video_sdl.cpp index bf465a94..c62cc392 100644 --- a/BasiliskII/src/SDL/video_sdl.cpp +++ b/BasiliskII/src/SDL/video_sdl.cpp @@ -639,13 +639,9 @@ public: ~driver_window(); void toggle_mouse_grab(void); - void mouse_moved(int x, int y); void grab_mouse(void); void ungrab_mouse(void); - -private: - int mouse_last_x, mouse_last_y; // Last mouse position (for relative mode) }; class driver_fullscreen : public driver_base { @@ -851,14 +847,6 @@ void driver_window::ungrab_mouse(void) } } -// Mouse moved -void driver_window::mouse_moved(int x, int y) -{ - mouse_last_x = x; mouse_last_y = y; - ADBMouseMoved(x, y); -} - - /* * Full-screen display driver */