Merge branch 'tls' of github.com:elmindreda/glfw into tls

This commit is contained in:
Camilla Berglund
2012-09-06 15:40:28 +02:00
3 changed files with 16 additions and 14 deletions
+3 -3
View File
@@ -478,8 +478,8 @@ static void processEvent(XEvent *event)
if (window == NULL)
return;
_glfwInputKey(window, translateKey(event.xkey.keycode), GLFW_PRESS);
_glfwInputChar(window, translateChar(&event.xkey));
_glfwInputKey(window, translateKey(event->xkey.keycode), GLFW_PRESS);
_glfwInputChar(window, translateChar(&event->xkey));
break;
}
@@ -516,7 +516,7 @@ static void processEvent(XEvent *event)
}
}
_glfwInputKey(window, translateKey(event.xkey.keycode), GLFW_RELEASE);
_glfwInputKey(window, translateKey(event->xkey.keycode), GLFW_RELEASE);
break;
}