<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>Perhaps you should look at XTest extension :
<a class="moz-txt-link-freetext" href="https://www.x.org/releases/X11R7.7/doc/xextproto/xtest.html">https://www.x.org/releases/X11R7.7/doc/xextproto/xtest.html</a></p>
<p>See <code class="function">XTestCompareCursor function<br>
</code></p>
<div class="moz-cite-prefix">Le 04/11/2020 à 19:25, Ivan Svirid a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAG-EYCgiKwF+H8gjxShg=2oPFtV=QXmdKprS8ZfFGDBPoPc0Dg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">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. <br>
<br>
Is there a way to readback this value from an existing window?
Or perhaps another workaround to get the cursor on a specific
window?<br>
<br>
I am aware there is XFixesSelectCursorInput but this listens for
changes and grabs the current system cursor; not on a per window
basis.<br>
<br>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org support
Archives: <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/archives/xorg">http://lists.freedesktop.org/archives/xorg</a>
Info: <a class="moz-txt-link-freetext" href="https://lists.x.org/mailman/listinfo/xorg">https://lists.x.org/mailman/listinfo/xorg</a>
Your subscription address: %(user_address)s
</pre>
</blockquote>
</body>
</html>