blob: 2feaedca6c2f00f2a6710cbfb07621e3cbae4bfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From 14903751c4d53bb69c3ee241524888cf746784c6 Mon Sep 17 00:00:00 2001
From: Matt Turner <mattst88@gmail.com>
Date: Sat, 3 Dec 2022 18:21:50 -0500
Subject: [PATCH] files/xinit-1.4.0-startx-current-vt.patch
---
startx.cpp | 11 -----------
1 file changed, 11 deletions(-)
diff --git ./startx.cpp ./startx.cpp
index 645566f..aa1dd7a 100644
--- ./startx.cpp
+++ ./startx.cpp
@@ -211,17 +211,6 @@ XCOMM process server arguments
if [ "$server" = "" ]; then
server=$defaultserver
-if [ "$(uname -s)" = "Linux" ] ; 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"
- tty=$(tty)
- if expr "$tty" : '/dev/tty[0-9][0-9]*$' > /dev/null; then
- tty_num=${tty#/dev/tty}
- vtarg="vt$tty_num -keeptty"
- fi
-fi
-
XCOMM For compatibility reasons, only use xserverrc if there were no server command line arguments
if [ "$serverargs" = "" ] && [ "$display" = "" ]; then
if [ -f "$userserverrc" ]; then
--
2.45.2
|