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

Commit

Permalink
Marcus von Appen fixed bug 1530: X11 touch initialisation does not ch…
Browse files Browse the repository at this point in the history
…eck its file handles
  • Loading branch information
slouken committed Jul 2, 2012
1 parent 9c69433 commit 208da59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/x11/SDL_x11touch.c
Expand Up @@ -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;
Expand Down

0 comments on commit 208da59

Please sign in to comment.