x11: Move KeySym to unicode converter out of x11 backend

To be used by the Wayland backend.
This commit is contained in:
Jonas Ådahl
2014-06-29 23:01:11 +02:00
parent 819e148510
commit 2f71bfc152
4 changed files with 38 additions and 7 deletions
+1 -3
View File
@@ -64,6 +64,7 @@
#include "posix_time.h"
#include "linux_joystick.h"
#include "xkb_unicode.h"
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowX11 x11
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryX11 x11
@@ -248,9 +249,6 @@ void _glfwInitGammaRamp(void);
GLboolean _glfwSetVideoMode(_GLFWmonitor* monitor, const GLFWvidmode* desired);
void _glfwRestoreVideoMode(_GLFWmonitor* monitor);
// Unicode support
long _glfwKeySym2Unicode(KeySym keysym);
// Clipboard handling
void _glfwHandleSelectionClear(XEvent* event);
void _glfwHandleSelectionRequest(XEvent* event);