Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Hopefully fixed crash when there are no input devices

  • Loading branch information
slouken committed Jan 2, 2009
1 parent 73da3be commit fd7cc64c2412efbbfbcd1b0efb85e6a605f95c74
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/video/x11/SDL_x11mouse.c
@@ -61,6 +61,7 @@ X11_InitMouse(_THIS)
}

/* we're getting the list of input devices */
n = 0;
DevList = XListInputDevices(display, &n);

/* we're aquiring valuators: mice, tablets, etc. */

0 comments on commit fd7cc64

Please sign in to comment.