Package: kde-workspace / 4:4.11.13-2

kdm_xreset_hook_framework.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Provide a Xreset hook using a common framework.
Forwarded: not-needed
Bug-Debian: http://bugs.debian.org/571609
Author: Fathi Boudra <fabo@debian.org>

--- a/kdm/kfrontend/genkdmconf.c
+++ b/kdm/kfrontend/genkdmconf.c
@@ -701,7 +701,12 @@ static const char def_reset[] =
 "#chown root /dev/console\n"
 "#chmod 622 /dev/console\n"
 "\n"
-"# XDM configurations typically have sessreg here. KDM has it built-in.\n";
+"# XDM configurations typically have sessreg here. KDM has it built-in.\n"
+"\n"
+"# Use common Xreset framework if it exist\n"
+"if [ -x /etc/X11/Xreset ] ; then\n"
+"   /etc/X11/Xreset\n"
+"fi";
 
 static const char def_session1[] =
 "#! /bin/sh\n"