src/video/x11/SDL_x11mouse.c
changeset 2952 79dee7da6ba5
parent 2942 1e431c2631ee
child 2962 1e242954330b
     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  }