Fixed X11 arrow cursor image.

Fixes #541.
This commit is contained in:
Camilla Berglund 2015-06-25 12:58:09 +02:00
parent 1984d40e33
commit 19a28e2c9f
2 changed files with 2 additions and 1 deletions

View File

@ -78,6 +78,7 @@ GLFW bundles a number of dependencies in the `deps/` directory.
- [X11] Bugfix: No fallback existed for missing `_NET_ACTIVE_WINDOW` support - [X11] Bugfix: No fallback existed for missing `_NET_ACTIVE_WINDOW` support
- [X11] Bugfix: Some significant window focus events were ignored - [X11] Bugfix: Some significant window focus events were ignored
- [X11] Bugfix: Auto-iconification of full screen windows was not implemented - [X11] Bugfix: Auto-iconification of full screen windows was not implemented
- [X11] Bugfix: `GLFW_ARROW_CURSOR` selected the wrong cursor image
- [WGL] Removed `GLFW_USE_DWM_SWAP_INTERVAL` compile-time option - [WGL] Removed `GLFW_USE_DWM_SWAP_INTERVAL` compile-time option
- [WGL] Bugfix: Swap interval was ignored when DWM was enabled - [WGL] Bugfix: Swap interval was ignored when DWM was enabled
- [GLX] Added dependency on `libdl` on systems where it provides `dlopen` - [GLX] Added dependency on `libdl` on systems where it provides `dlopen`

View File

@ -114,7 +114,7 @@ static int translateCursorShape(int shape)
switch (shape) switch (shape)
{ {
case GLFW_ARROW_CURSOR: case GLFW_ARROW_CURSOR:
return XC_arrow; return XC_left_ptr;
case GLFW_IBEAM_CURSOR: case GLFW_IBEAM_CURSOR:
return XC_xterm; return XC_xterm;
case GLFW_CROSSHAIR_CURSOR: case GLFW_CROSSHAIR_CURSOR: