SHA256
1
0
forked from pool/gdm
gdm/gdm-suse-xsession.patch
Vincent Untz c1cb311d64 Accepting request 29924 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/gdm via accept of submit request 29924 revision 5.
Request was accepted with message:
Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/29924
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=112
2010-01-18 03:10:55 +00:00

42 lines
1.2 KiB
Diff

Index: gdm-2.29.5/data/Init.in
===================================================================
--- gdm-2.29.5.orig/data/Init.in
+++ gdm-2.29.5/data/Init.in
@@ -1,4 +1,9 @@
#!/bin/sh
+
+if test -x /etc/X11/xdm/Xsetup; then
+ exec /etc/X11/xdm/Xsetup
+fi
+
# Stolen from the debian kdm setup, aren't I sneaky
# Plus a lot of fun stuff added
# -George
Index: gdm-2.29.5/data/PostSession.in
===================================================================
--- gdm-2.29.5.orig/data/PostSession.in
+++ gdm-2.29.5/data/PostSession.in
@@ -1,3 +1,7 @@
#!/bin/sh
+if test -x /etc/X11/xdm/Xreset; then
+ exec /etc/X11/xdm/Xreset
+fi
+
exit 0
Index: gdm-2.29.5/data/Xsession.in
===================================================================
--- gdm-2.29.5.orig/data/Xsession.in
+++ gdm-2.29.5/data/Xsession.in
@@ -1,4 +1,10 @@
#!@XSESSION_SHELL@
+
+if test -f /etc/X11/xdm/Xstartup -a -x /etc/X11/xdm/Xsession; then
+ /bin/bash /etc/X11/xdm/Xstartup
+ exec /etc/X11/xdm/Xsession $1 $GDM_LANG
+fi
+
#
# This is SORT OF LIKE an X session, but not quite. You get a command as the
# first argument (it could be multiple words, so run it with "eval"). As a