Nobody seemed interested in fixing this, so I went and did it myself.
The problem was in xshogi.c . I added a protocol callback on the
WM_DELETE_WINDOW event and tied it to a new handler (which also had to
be added to the header file).

Now, when someone X's the program, ShutdownShogiPrograms() is also
called, thus closing gnushogi, thus not leaving an invisible 100%-CPU
process lying around :)

This is my first time submitting a patch to Ubuntu, so I hope I did
everything right!

** Attachment added: "Patch to fix xshogi/xshogi.c and xshogi/xshogifn.h"
   http://launchpadlibrarian.net/11883729/gnushogi.patch

** Tags added: patch

-- 
xshogi leaves gnushogi running after exit
https://bugs.launchpad.net/bugs/131017
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to