diff options
| author | Ray <[email protected]> | 2018-02-22 00:01:13 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-02-22 00:01:13 +0100 |
| commit | cd5e2e0f17f87fc7c5794327bba1b384758f4937 (patch) | |
| tree | eaed0c22ffe4b8c2341387681c2c9662182f93ae | |
| parent | 326fe09777b4b72358bad3e5ae272084bd1732a5 (diff) | |
| download | raylib-cd5e2e0f17f87fc7c5794327bba1b384758f4937.tar.gz raylib-cd5e2e0f17f87fc7c5794327bba1b384758f4937.zip | |
Corrected cursor issue for Wayland
| -rw-r--r-- | src/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -752,7 +752,7 @@ int GetScreenHeight(void) void ShowCursor() { #if defined(PLATFORM_DESKTOP) - #if defined(__linux__) + #if defined(__linux__) && defined(_GLFW_X11) XUndefineCursor(glfwGetX11Display(), glfwGetX11Window(window)); #else glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL); @@ -765,7 +765,7 @@ void ShowCursor() void HideCursor() { #if defined(PLATFORM_DESKTOP) - #if defined(__linux__) + #if defined(__linux__) && defined(_GLFW_X11) XColor col; const char nil[] = {0}; |
