Commit 959558fe authored by Sam Lantinga's avatar Sam Lantinga

Hopefully fixed crash when there are no input devices

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403424
parent 382a1fe6
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment