XGetWindowAttributes to get the cursor?

Ivan Svirid vans554 at gmail.com
Wed Nov 4 18:25:42 UTC 2020


So XSetWindowAttributes allows you to set the cursor on the window,
basically this is the hardware cursor when your mouse enters the window
that is displayed.

Is there a way to readback this value from an existing window? Or perhaps
another workaround to get the cursor on a specific window?

I am aware there is XFixesSelectCursorInput but this listens for changes
and grabs the current system cursor; not on a per window basis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20201104/18e1db41/attachment.htm>


More information about the xorg mailing list