[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

freeze exception for keytouch

Dear release team,

in order to fix bug #487629 
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23487629) I made an upload 
NMU upload to mentors.debian.net. This upload was later on sponsored by Neil 
Williams (thanks for your help Neil!).

As described in the bugreport, the unfixed keytouch prevents X session 
shutdowns, causing the X session to hang forever.

There exists a similar ubuntu bugreport and there the upstream authore solved 
the problem by a simple one-line patch 
I backported this patch from the new upstream release and added it to package 
patch queue

#! /bin/sh /usr/share/dpatch/dpatch-run
## 25_XCloseDisplay.dpatch by <bernd.schubert@fastmail.fm>
## DP: Backport from 2.4.0, allow proper X-session shutdown

diff -urNad keytouch-2.3.2~/keytouchd/main.c keytouch-2.3.2/keytouchd/main.c
--- keytouch-2.3.2~/keytouchd/main.c    2008-08-20 22:15:57.000000000 +0200
+++ keytouch-2.3.2/keytouchd/main.c     2008-08-20 22:16:53.587173950 +0200
@@ -168,7 +168,7 @@
        XmlFree (user_preferences.browser);
        XmlFree (user_preferences.email_program);
        XmlFree (user_preferences.chat_program);
-       XCloseDisplay (display);
+       /* XCloseDisplay (display); This may prevent keytouchd from 
terminating */
        exit (EXIT_SUCCESS);

I would be glad if you could make an exception for keytouch.

Thanks in advance,

Reply to: