mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
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:
parent
7f9fff1ffe
commit
a38682cee4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user