summaryrefslogtreecommitdiff
path: root/x11-misc/sddm/files/sddm-0.18.0-Xsession.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-07-05 13:55:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-07-05 13:55:24 +0100
commitfd890516aacba5ee2d8902fb31cc27964c4632c1 (patch)
tree666b979dfc54571d6c6e04e1939ca5a9bb06b0f0 /x11-misc/sddm/files/sddm-0.18.0-Xsession.patch
parent3f081bc83000affd8ec16e0b941c6c08925ea098 (diff)
x11-misc/sddm : version bump (bugfix: https://bugs.redcorelinux.org/show_bug.cgi?id=117)
Diffstat (limited to 'x11-misc/sddm/files/sddm-0.18.0-Xsession.patch')
-rw-r--r--x11-misc/sddm/files/sddm-0.18.0-Xsession.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-misc/sddm/files/sddm-0.18.0-Xsession.patch b/x11-misc/sddm/files/sddm-0.18.0-Xsession.patch
new file mode 100644
index 00000000..41c813a0
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-0.18.0-Xsession.patch
@@ -0,0 +1,24 @@
+--- a/data/scripts/Xsession 2016-08-28 14:52:04.910181422 +0200
++++ b/data/scripts/Xsession 2017-10-21 15:25:47.668886596 +0200
+@@ -50,6 +50,10 @@
+ ;;
+ esac
+
++# Make D-Bus and ConsoleKit start properly, see:
++# /etc/X11/xinit/xinitrc.d/{80-dbus,90-consolekit}
++command="$@"
++
+ [ -f /etc/xprofile ] && . /etc/xprofile
+ [ -f $HOME/.xprofile ] && . $HOME/.xprofile
+
+@@ -94,8 +98,8 @@
+ . "$USERXSESSION"
+ fi
+
+-if [ -z "$*" ]; then
++if [ -z "$command" ]; then
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
+ else
+- exec $@
++ exec $command
+ fi