XPost: comp.unix.programmer
On Mon, 06 May 2019 16:04:05 GMT
Spiros Bousbouras <
spibou@gmail.com> wrote:
On Mon, 6 May 2019 15:30:09 +0000 (UTC)
johnbenny@nowhere.co.uk wrote:
Hello
I need to get the current mouse cursor/pointer being displayed by the X >server
in a window but there doesn't seem to be an obvious way to do it in Xlib.
XDefineCursor() sets it but there doesn't appear to be a way to get it.
[Crossposting to comp.windows.x]
XQueryPointer()
While that returns details about the pointer window and location it doesn't return the glyph or bitmap currently being used for the pointer itself.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)