Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Moved function for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 21, 2011
1 parent d63b12f commit 8b901db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/video/cocoa/SDL_cocoamouse.h
Expand Up @@ -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 */

Expand Down
10 changes: 5 additions & 5 deletions src/video/cocoa/SDL_cocoamouse.m
Expand Up @@ -107,11 +107,6 @@
}
}

void
Cocoa_QuitMouse(_THIS)
{
}

void
Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent *event)
{
Expand All @@ -131,4 +126,9 @@
SDL_SendMouseWheel(window, (int)x, (int)y);
}

void
Cocoa_QuitMouse(_THIS)
{
}

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 8b901db

Please sign in to comment.