diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-08 14:12:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-08 14:12:50 +0100 |
commit | 413fb45eee79c3ffba192bc0311f63cba6829a95 (patch) | |
tree | d2e8d154b6abffa0be6e477cf06e65d9686a8ad2 /x11-apps/xinit/files/xinit-1.4.0-startx-current-vt.patch | |
parent | 9529e79c408763cf173a1fdf31d607f8c0a4dcf0 (diff) |
x11-apps/xinit : version bump
Diffstat (limited to 'x11-apps/xinit/files/xinit-1.4.0-startx-current-vt.patch')
-rw-r--r-- | x11-apps/xinit/files/xinit-1.4.0-startx-current-vt.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-apps/xinit/files/xinit-1.4.0-startx-current-vt.patch b/x11-apps/xinit/files/xinit-1.4.0-startx-current-vt.patch new file mode 100644 index 00000000..ecddd3b3 --- /dev/null +++ b/x11-apps/xinit/files/xinit-1.4.0-startx-current-vt.patch @@ -0,0 +1,20 @@ +--- a/startx.cpp ++++ b/startx.cpp +@@ -200,17 +200,6 @@ XCOMM process server arguments + if [ x"$server" = x ]; then + server=$defaultserver + +-#ifdef __linux__ +- 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" +- tty=$(tty) +- if expr "$tty" : '/dev/tty[0-9][0-9]*$' > /dev/null; then +- tty_num=$(echo "$tty" | grep -oE '[0-9]+$') +- vtarg="vt$tty_num -keeptty" +- fi +-#endif +- + XCOMM For compatibility reasons, only use xserverrc if there were no server command line arguments + if [ x"$serverargs" = x -a x"$display" = x ]; then + if [ -f "$userserverrc" ]; then |