grabbing the mouse cursor

Indy <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
I'm making a radically advanced help system for linux.
Is there a way to grab the current mouse cursor icon?  (either by id or 
picture)   Or grab an entire screenshot with the current mouse pointer 
(hourglass, pointer, etc.)?

XQueryPointer - only tells the mouse position
XGetImage - grabs the screen without the mouse
XGetWindowAttributes - doesn't return a needed Cursor

Do I have to manually hack the X server code?  If so, any suggestions on 
what to do?

Thanks!
Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.