mirror of
https://github.com/yawut/SDL.git
synced 2026-06-03 06:35:10 -05:00
Marcus von Appen fixed bug 1530: X11 touch initialisation does not check its file handles
This commit is contained in:
parent
c45ef572c4
commit
22635aff00
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user