]> rtime.felk.cvut.cz Git - sojka/debian/lightdm.git/commitdiff
* debian/patches:
authorcorsac <corsac@0c9b3bff-18ee-0310-b944-d1aa2700132f>
Wed, 3 Aug 2011 08:26:44 +0000 (08:26 +0000)
committercorsac <corsac@0c9b3bff-18ee-0310-b944-d1aa2700132f>
Wed, 3 Aug 2011 08:26:44 +0000 (08:26 +0000)
  - 05_always-export-XAUTHORITY added, always export path to xauth file.

git-svn-id: svn://anonscm.debian.org/pkg-xfce/goodies/trunk/lightdm@5911 0c9b3bff-18ee-0310-b944-d1aa2700132f

debian/changelog
debian/patches/05_always-export-XAUTHORITY.patch [new file with mode: 0644]
debian/patches/series

index 8931e9691140ee3570a7390fad18acf4e2343f78..340ee3c3aa059a25c345a10d64db987c2fc3d8e3 100644 (file)
@@ -1,3 +1,10 @@
+lightdm (0.9.2-3) UNRELEASED; urgency=low
+
+  * debian/patches:
+    - 05_always-export-XAUTHORITY added, always export path to xauth file.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Wed, 03 Aug 2011 10:18:20 +0200
+
 lightdm (0.9.2-2) unstable; urgency=low
 
   * debian/control;
diff --git a/debian/patches/05_always-export-XAUTHORITY.patch b/debian/patches/05_always-export-XAUTHORITY.patch
new file mode 100644 (file)
index 0000000..f5c254d
--- /dev/null
@@ -0,0 +1,17 @@
+diff --git a/src/xsession.c b/src/xsession.c
+index 6474799..01cbea1 100644
+--- a/src/xsession.c
++++ b/src/xsession.c
+@@ -67,11 +67,11 @@ xsession_start (Session *session)
+             path = g_build_filename (dir, "xauthority", NULL);
+             g_free (dir);
+-            process_set_env (PROCESS (session), "XAUTHORITY", path);
+         }
+         else
+             path = g_build_filename (user_get_home_directory (session_get_user (session)), ".Xauthority", NULL);
++        process_set_env (PROCESS (session), "XAUTHORITY", path);
+         XSESSION (session)->priv->authority_file = g_file_new_for_path (path);
+         g_free (path);
index 45a831d582a1f1c81bcd2ad8858fec3b1c0e0fd6..9341fb10714dced89b4b7d5cb2182f46c94374e2 100644 (file)
@@ -2,3 +2,4 @@
 02_default-config.patch
 03_quit-plymouth.patch
 04_default-gtk-greeter-config.patch
+05_always-export-XAUTHORITY.patch