Commit 654f1950 authored by Sam Lantinga's avatar Sam Lantinga

Fixed formatting

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402117
parent 29285b10
......@@ -27,7 +27,7 @@
#include "SDL_BWin.h"
extern "C" {
#include "SDL_cursor_c.h"
#include "../SDL_cursor_c.h"
#include "SDL_sysmouse_c.h"
/* Convert bits to padded bytes */
......@@ -128,7 +128,7 @@ void BE_FreeWMCursor(_THIS, WMcursor *cursor)
/* Implementation by Christian Bauer <cbauer@student.physik.uni-mainz.de> */
void BE_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
{
if (_this->screen && (_this->screen->flags & SDL_FULLSCREEN) ) {
if (_this->screen && (_this->screen->flags & SDL_FULLSCREEN)) {
SDL_PrivateMouseMotion(0, 0, x, y);
} else {
BPoint pt(x, y);
......@@ -138,6 +138,7 @@ void BE_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
set_mouse_position((int32)pt.x, (int32)pt.y);
}
}
/* Check to see if we need to enter or leave mouse relative mode */
void BE_CheckMouseMode(_THIS)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment