5

有没有办法使用 Xlib 检索当前光标位图?我已经检查了XCursor man但我没有看到任何可以做到这一点的方法。

4

1 回答 1

6

使用XFixes 扩展中的 GetCursorImage / SelectCursorInput + CursorNotify 事件:

XFixesCursorImage *cursor = XFixesGetCursorImage(display);
于 2013-07-30T22:49:11.153 回答