mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 03:34:44 -05:00
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.
This commit is contained in:
@@ -31,7 +31,7 @@ X11_FreeMouse(SDL_Mouse * mouse)
|
||||
X11_MouseData *data = (X11_MouseData *) mouse->driverdata;
|
||||
|
||||
if (data) {
|
||||
XCloseDevice(data->display, mouse->id);
|
||||
XCloseDevice(data->display, data->device);
|
||||
SDL_free(data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user