How do capture cursor shape using X-Windows APIs?

Alan Coopersmith alan.coopersmith at oracle.com
Fri Oct 8 07:26:53 PDT 2010


Prudhvi Raj wrote:
> How do we get current cursor image (RGB or else) using X11/X-Windows?

XFixesCursorImage *XFixesGetCursorImage (Display *dpy);

Unfortunately, the only documentation I'm aware of is the protocol spec,
but the libXfixes API pretty much maps to that:
   http://www.x.org/releases/X11R7.5/doc/fixesproto/fixesproto.txt

So *XFixesGetCursorImage() calls the GetCursorImage protocol request
described there.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System




More information about the xorg mailing list