mirror of
https://github.com/yawut/SDL.git
synced 2026-08-25 10:14:57 -05:00
Marcus von Appen fixed bug 1530: X11 touch initialisation does not check its file handles
This commit is contained in:
@@ -46,6 +46,7 @@ X11_InitTouch(_THIS)
|
||||
#ifdef SDL_INPUT_LINUXEV
|
||||
FILE *fd;
|
||||
fd = fopen("/proc/bus/input/devices","r");
|
||||
if (!fd) return;
|
||||
|
||||
int i = 0;
|
||||
int tsfd;
|
||||
|
||||
Reference in New Issue
Block a user