Is there a way to retrieve current cursor bitmap using Xlib? I have checked XCursor man but I don't see any method that can do that.
Use GetCursorImage / SelectCursorInput + CursorNotify event from XFixes extension:
XFixesCursorImage *cursor = XFixesGetCursorImage(display);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With