Add wait/hourglass cursor implementation via XC_watch

This adds support for the wait/hourglass cursor shape on X11 using XC_watch
This commit is contained in:
httpdigest 2015-08-31 11:18:41 +02:00
parent 7f9fff1ffe
commit a38682cee4

View File

@ -123,6 +123,8 @@ static int translateCursorShape(int shape)
return XC_sb_h_double_arrow; return XC_sb_h_double_arrow;
case GLFW_VRESIZE_CURSOR: case GLFW_VRESIZE_CURSOR:
return XC_sb_v_double_arrow; return XC_sb_v_double_arrow;
case GLFW_WAIT_CURSOR:
return XC_watch;
} }
return 0; return 0;