mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
b25c84154f
a/haveged-1.9.12-x86_64-1.txz: Upgraded. a/kernel-firmware-20200619_3890db3-noarch-1.txz: Upgraded. a/sysvinit-scripts-2.1-noarch-34.txz: Rebuilt. rc.M: check for elogind first so that we can ignore a stale CK2 package. ap/sudo-1.9.1-x86_64-1.txz: Upgraded. l/alsa-lib-1.2.3.1-x86_64-1.txz: Upgraded. l/desktop-file-utils-0.26-x86_64-1.txz: Upgraded. n/mutt-1.14.4-x86_64-1.txz: Upgraded. x/libinput-1.15.6-x86_64-1.txz: Upgraded. x/xinit-1.4.1-x86_64-2.txz: Rebuilt. When using elogind, start the session on the current console. Thanks to alienBOB.
18 lines
682 B
Diff
18 lines
682 B
Diff
--- ./startx.cpp.orig 2018-03-11 16:07:52.205154560 -0500
|
|
+++ ./startx.cpp 2018-03-11 16:09:46.094163992 -0500
|
|
@@ -201,6 +201,7 @@
|
|
server=$defaultserver
|
|
|
|
#ifdef __linux__
|
|
+ if [ -x /lib/elogind/elogind -o -x /lib64/elogind/elogind ]; then
|
|
XCOMM When starting the defaultserver start X on the current tty to avoid
|
|
XCOMM the startx session being seen as inactive:
|
|
XCOMM "https://bugzilla.redhat.com/show_bug.cgi?id=806491"
|
|
@@ -209,6 +210,7 @@
|
|
tty_num=$(echo "$tty" | grep -oE '[0-9]+$')
|
|
vtarg="vt$tty_num -keeptty"
|
|
fi
|
|
+ fi
|
|
#endif
|
|
|
|
XCOMM For compatibility reasons, only use xserverrc if there were no server command line arguments
|