Hey Ricardo! On Wed, 2013-11-13 at 01:19:09 +0100, Ricardo Mones wrote: > On Tue, 12 Nov 2013 17:33:09 +0100 Guillem Jover wrote: > > Package: oneko > > Version: 1.2.sakura.6-9 > > Severity: normal
> > After quitting the program, the cursor image gets reset to the default > > X.Org ‘X’ pointer shape. On awesome, just resetting the window manager > > restores the cursor image. > > Just tried and yes, on awesome it leaves the x-shaped pointer upon exit. > Strangely on KDE this doesn't happen, for example. I've found also there's > no need to restart awesome, starting some other application fixes the > pointer automagically :-? (tried with gedit and also with xedit just to > be sure it wasn't a GTK+ side effect). Hmm, starting xedit for example from the same konsole from where I started oneko, does not fix it for me. Ah, ok, it restores it only if I start it from awesome's prompt (or I guess from the menu). So maybe it's awesome's doings. > Anyway this seems to be a feature: As long as the purpose of the program is to only switch the cursor image temporarily while it is running, I'm not sold on it having side-effects after it has finished as a feature. :) > […] you can try “oneko -cursor 132” > as manpage suggests, and the default root cursor will be restored, instead > of the x-shaped one. The untested attached patch should also fix it. Oh wow, I did check in the man page, I don't know now what I searched for though. In any case having tested the -cursor option now, it sets up a similar but not identical cursor to the previous one (the new one is a bit more tilted to the left), I can attach images if you want. :) I investigated a bit about this, and I've not found a clear way to save the currently running cursor to restore it afterwards. The Xfixes X extension has some stuff but does not seem enough, neither the Xcursor library, nor Xlib's XGetWindowAttributes() which does not seem to expose the cursor attribute that you can change with XChangeWindowAttributes(). But this all seems rather confusing. Although maybe this is an awesome bug (heh), and it should be changing the default cursor as pointed by the None Cursor value to be the root window cursor. Thanks, Guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org