XGetWindowAttributes to get the cursor?
lucien.gentis at univ-lorraine.fr
Thu Nov 19 15:26:27 UTC 2020
Perhaps you should look at XTest extension :
See |XTestCompareCursor function
Le 04/11/2020 à 19:25, Ivan Svirid a écrit :
> 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.
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg