Cosmin Apreutesei writes:
Hi,I need to change the mouse pointer for a window to the standard hand cursor (I need a toolkit-independent solution, preferably XCB-based). I noticed that loading the "cursor" font and changing the window attribute XCB_CW_CURSOR to XC_hand2 loads an ugly and unfamiliar hand cursor, not the default Ubuntu hand cursor that you see in Chrome when you hover links. Any ideas?
There's really no such thing as a "default cursor".The cursor on the root window is going to get set by whatever desktop you're using – Gnome, KDE, XFCE, or what not; and inherited by all top-level windows.
You may want to check the documentation for your desktop manager. It's possible that your desktop manager might define a standard set of cursors, as well-defined resources.
pgpGw0p5NlWef.pgp
Description: PGP signature
_______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s