Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Date: Fri, 02 Jan 2009 00:54:48 +0100
Browse files Browse the repository at this point in the history
From: Couriersud
Subject: SDL1.3 Two small bugs ...

The first bug is rather straight forward; XCloseDevice needs a device,
not an ID.
  • Loading branch information
slouken committed Jan 2, 2009
1 parent 7424bd5 commit 91e559e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11mouse.c
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 91e559e

Please sign in to comment.