title: XLib: Get cursor image
body: <p>Is there a way to retrieve current cursor bitmap using Xlib?
  I have checked <a href="http://www.xfree86.org/4.3.0/Xcursor.3.html" rel="noreferrer">XCursor man</a> but I don't see any method that can do that.</p>