games-arcade/osu-lazer: add 2024.521.2, drop 2024.519.1
[gentoo-zh.git] / x11-misc / sddm / files / sddm-0.19.0-Xsession.patch
blobe1e3c1527be74e3d8822a1684e71b10143139489
1 --- a/data/scripts/Xsession
2 +++ b/data/scripts/Xsession
3 @@ -50,6 +50,10 @@
4 ;;
5 esac
7 +# Make D-Bus start properly, see:
8 +# /etc/X11/xinit/xinitrc.d/80-dbus
9 +command="$@"
11 [ -f /etc/xprofile ] && . /etc/xprofile
12 [ -f $HOME/.xprofile ] && . $HOME/.xprofile
14 @@ -94,8 +98,8 @@
15 . "$USERXSESSION"
18 -if [ -z "$*" ]; then
19 +if [ -z "$command" ]; then
20 exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
21 else
22 - exec $@
23 + exec $command