From a38682cee423fdc60c07ff1858ac7ed5d3195923 Mon Sep 17 00:00:00 2001 From: httpdigest Date: Mon, 31 Aug 2015 11:18:41 +0200 Subject: [PATCH] Add wait/hourglass cursor implementation via XC_watch This adds support for the wait/hourglass cursor shape on X11 using XC_watch --- src/x11_window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x11_window.c b/src/x11_window.c index 251e09adc..35e967e6f 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -123,6 +123,8 @@ static int translateCursorShape(int shape) return XC_sb_h_double_arrow; case GLFW_VRESIZE_CURSOR: return XC_sb_v_double_arrow; + case GLFW_WAIT_CURSOR: + return XC_watch; } return 0;