Mercurial > sdl-ios-xcode
changeset 2952:79dee7da6ba5
Date: Fri, 02 Jan 2009 00:54:48 +0100
From: Couriersud
Subject: SDL1.3 Two small bugs ...
The first bug is rather straight forward; XCloseDevice needs a device,
not an ID.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 02 Jan 2009 01:34:52 +0000 |
parents | 268073d5a40d |
children | 33794586c53d |
files | src/video/x11/SDL_x11mouse.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11mouse.c Fri Jan 02 01:32:51 2009 +0000 +++ b/src/video/x11/SDL_x11mouse.c Fri Jan 02 01:34:52 2009 +0000 @@ -31,7 +31,7 @@ X11_MouseData *data = (X11_MouseData *) mouse->driverdata; if (data) { - XCloseDevice(data->display, mouse->id); + XCloseDevice(data->display, data->device); SDL_free(data); } }