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

Commit

Permalink
Hopefully fixed crash when there are no input devices
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 2, 2009
1 parent 73da3be commit fd7cc64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/x11/SDL_x11mouse.c
Expand Up @@ -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. */
Expand Down

0 comments on commit fd7cc64

Please sign in to comment.