Re: How to change mouse cursor to standard hand cursor

2015-07-17 Thread Cosmin Apreutesei
> I attached the cursor theme fixing script - it contains groups for pretty > much everything. Thanks Thomas, I'll try that. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinf

Re: How to change mouse cursor to standard hand cursor

2015-07-17 Thread Thomas Lübking
On Freitag, 17. Juli 2015 17:13:59 CEST, Cosmin Apreutesei wrote: Where did you get the names (especially the weird hashes)? Sorry for double-posting: I'm asking because I need these names/hashes for more types of icons (ibeam, busy arrow, resizing arrows, etc.) I attached the cursor theme fi

Re: How to change mouse cursor to standard hand cursor

2015-07-17 Thread Thomas Lübking
On Freitag, 17. Juli 2015 17:04:16 CEST, Cosmin Apreutesei wrote: Um, the Qt/X11 deployment page specifically recommends statically linking of Qt and even libstdc++[1]. This is if you intend to ship binaries of your stuff, what's pretty uncommon in the linux ecosystem. Distribution is usually

Re: How to change mouse cursor to standard hand cursor

2015-07-17 Thread Cosmin Apreutesei
> Where did you get the names (especially the weird hashes)? Sorry for double-posting: I'm asking because I need these names/hashes for more types of icons (ibeam, busy arrow, resizing arrows, etc.) so I'm interested to know how I can get them myself -- I plucked the SDL2 and pyglet code but they

Re: How to change mouse cursor to standard hand cursor

2015-07-17 Thread Cosmin Apreutesei
> First of all *you* do not deploy apps with toolkits, but dynamically link > those libraries so it will use the version provided by the distro. Um, the Qt/X11 deployment page specifically recommends statically linking of Qt and even libstdc++[1]. As an app dev I tend to agree: running a different

Re: How to change mouse cursor to standard hand cursor

2015-07-17 Thread Thomas Lübking
First of all *you* do not deploy apps with toolkits, but dynamically link those libraries so it will use the version provided by the distro. Linux doesn't do the windows dll hell. And yes: using a toolkit is probably a good idea. Secondly: - xcb_cursor_context_t *ctx; if (xcb_cursor_context_ne

Re: How to change mouse cursor to standard hand cursor

2015-07-17 Thread Cosmin Apreutesei
> The typical approach is to have a list of known properties each particular > desktop manager, and check if it's set. Alright, thanks Sam, i'll list the properties of the root window and see what I can pick from there. [This is a nightmare. Maybe I should abandon XCB and switch to GTK or Qt, but

Re: How to change mouse cursor to standard hand cursor

2015-07-17 Thread Sam Varshavchik
Cosmin Apreutesei writes: > You may want to check the documentation for your desktop manager. How can I detect at runtime which desktop manager is running so I can take it from there? Desktop managers typically set their own desktop manager-specific properties in the root window. The typi

Re: How to change mouse cursor to standard hand cursor

2015-07-17 Thread Cosmin Apreutesei
> You may want to check the documentation for your desktop manager. How can I detect at runtime which desktop manager is running so I can take it from there? Thanks. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xor

Re: How to change mouse cursor to standard hand cursor

2015-07-16 Thread Sam Varshavchik
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 unfami

How to change mouse cursor to standard hand cursor

2015-07-15 Thread Cosmin Apreutesei
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 def