Date: Fri, 02 Jan 2009 00:54:48 +0100
authorSam Lantinga <slouken@libsdl.org>
Fri, 02 Jan 2009 01:34:52 +0000
changeset 295279dee7da6ba5
parent 2951 268073d5a40d
child 2953 33794586c53d
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.
src/video/x11/SDL_x11mouse.c
     1.1 --- a/src/video/x11/SDL_x11mouse.c	Fri Jan 02 01:32:51 2009 +0000
     1.2 +++ b/src/video/x11/SDL_x11mouse.c	Fri Jan 02 01:34:52 2009 +0000
     1.3 @@ -31,7 +31,7 @@
     1.4      X11_MouseData *data = (X11_MouseData *) mouse->driverdata;
     1.5  
     1.6      if (data) {
     1.7 -        XCloseDevice(data->display, mouse->id);
     1.8 +        XCloseDevice(data->display, data->device);
     1.9          SDL_free(data);
    1.10      }
    1.11  }