Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Oops, reversed the logic of the variable
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/video/x11/SDL_x11mouse.c
|
@@ -236,7 +236,7 @@ void X11_CheckMouseModeNoLock(_THIS) |
|
|
They almost never want to do this, as it seriously affects |
|
|
applications that rely on continuous relative mouse motion. |
|
|
*/ |
|
|
env_override = getenv("SDL_MOUSE_NORELATIVE"); |
|
|
env_override = getenv("SDL_MOUSE_RELATIVE"); |
|
|
if ( env_override ) { |
|
|
enable_relative = atoi(env_override); |
|
|
} |
|
|