Hi,

I would like to know if there is a way, using X native or X extensions functions, to know about the state of a cursor. For example when using the XCreateFontCursor(Display* display, unsigned int shape), we set the shape of the cursor using one of the defined "X Font Cursors".

Here, I want to get the shape unsigned integer. I know it is possible to do something close to it using SDL_GetCursor() function, but just wanted to know if there is a more direct and native way to do it.

Thx for any info,

Jérôme