1.Fixed a memory leak inside XInput2 code

2.Replaced XKeycodeToKeysym with XkbKeycodeToKeysym since XKeycodeToKeysym is deprecated in newer X11 version
3.Rewrote testime.c since it was disabled after SDL_compat.c removal
4.Take into account common arguments also in testrelative.c
This commit is contained in:
Dimitris Zenios 2012-05-31 19:23:30 +03:00
parent 5c45be466b
commit f39fe05937
11 changed files with 238 additions and 235 deletions

View file

@ -41,6 +41,9 @@ main(int argc, char *argv[])
if (!state) {
return 1;
}
for (i = 1; i < argc;i++) {
CommonArg(state, i);
}
if (!CommonInit(state)) {
return 2;
}