1From b60e364c35d56a2a3164254d98c9931bfa3feed4 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:34:43 +0200
4Subject: [PATCH] add support for /etc/X11/xserver-system
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9Upstream-Status: Pending
10
11 X11/xserver-common | 5 +++++
12 1 file changed, 5 insertions(+)
13
14diff --git a/X11/xserver-common b/X11/xserver-common
15index 52655cb..bb7c2ff 100644
16--- a/X11/xserver-common
17+++ b/X11/xserver-common
18@@ -204,3 +204,8 @@ fi
19 if [ "$XSERVER" != "Xorg" ] ; then
20     ARGS="$ARGS $MOUSE $KDRIVEARGS"
21 fi
22+
23+# let a local script modify the variables
24+if [ -e /etc/X11/xserver-system ] ; then
25+       . /etc/X11/xserver-system
26+fi
27