From 6456acb47b34394e0888f076892e8a4a9d341a6f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 20 Jan 2011 17:11:22 -0800 Subject: [PATCH] Moved function for consistency --- src/video/cocoa/SDL_cocoamouse.h | 2 +- src/video/cocoa/SDL_cocoamouse.m | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/video/cocoa/SDL_cocoamouse.h b/src/video/cocoa/SDL_cocoamouse.h index 9f2b21a7f..1d17893e7 100644 --- a/src/video/cocoa/SDL_cocoamouse.h +++ b/src/video/cocoa/SDL_cocoamouse.h @@ -26,8 +26,8 @@ extern void Cocoa_InitMouse(_THIS); extern void Cocoa_HandleMouseEvent(_THIS, NSEvent * event); -extern void Cocoa_QuitMouse(_THIS); extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event); +extern void Cocoa_QuitMouse(_THIS); #endif /* _SDL_cocoamouse_h */ diff --git a/src/video/cocoa/SDL_cocoamouse.m b/src/video/cocoa/SDL_cocoamouse.m index 97bc3010b..fd8b74a3b 100644 --- a/src/video/cocoa/SDL_cocoamouse.m +++ b/src/video/cocoa/SDL_cocoamouse.m @@ -107,11 +107,6 @@ Cocoa_HandleMouseEvent(_THIS, NSEvent *event) } } -void -Cocoa_QuitMouse(_THIS) -{ -} - void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent *event) { @@ -131,4 +126,9 @@ Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent *event) SDL_SendMouseWheel(window, (int)x, (int)y); } +void +Cocoa_QuitMouse(_THIS) +{ +} + /* vi: set ts=4 sw=4 expandtab: */