summarylogtreecommitdiffstats
path: root/notty.patch
diff options
context:
space:
mode:
authorMichael Taboada2018-09-27 09:04:14 -0700
committerMichael Taboada2018-09-27 09:04:14 -0700
commit04712f339415a4d9d3e53c04ec14b473185c090b (patch)
treeca09f8c6037447d8024d258d18493e66baf9e508 /notty.patch
downloadaur-04712f339415a4d9d3e53c04ec14b473185c090b.tar.gz
Notty patched xorg-server first commit
Diffstat (limited to 'notty.patch')
-rw-r--r--notty.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/notty.patch b/notty.patch
new file mode 100644
index 000000000000..a9ef3294d3ee
--- /dev/null
+++ b/notty.patch
@@ -0,0 +1,46 @@
+ hw/xfree86/common/xf86Init.c | 7 ++++++-
+ hw/xfree86/man/Xorg.man | 4 ++++
+ 2 files changed, 10 insertions(+), 1 deletion(-)
+
+ diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
+ index 1695dbf..c266be3 100644
+ --- a/hw/xfree86/common/xf86Init.c
+ +++ b/hw/xfree86/common/xf86Init.c
+ @@ -93,7 +93,7 @@
+ #ifdef XF86PM
+ void (*xf86OSPMClose) (void) = NULL;
+ #endif
+ -static Bool xorgHWOpenConsole = FALSE;
+ +static Bool xorgHWOpenConsole = TRUE;
+
+ /* Common pixmap formats */
+
+ @@ -1455,6 +1455,11 @@ ddxProcessArgument(int argc, char **argv, int i)
+ return 1;
+ }
+
+ + if (!strcmp(argv[i], "-notty")) {
+ + xorgHWOpenConsole = FALSE;
+ + return 1;
+ + }
+ +
+ /* OS-specific processing */
+ return xf86ProcessArgument(argc, argv, i);
+ }
+ diff --git a/hw/xfree86/man/Xorg.man b/hw/xfree86/man/Xorg.man
+ index 0cd5a10..7d77afd 100644
+ --- a/hw/xfree86/man/Xorg.man
+ +++ b/hw/xfree86/man/Xorg.man
+ @@ -333,6 +333,10 @@ as root (i.e, with real-uid 0).
+ .TP 8
+ .B \-nosilk
+ Disable Silken Mouse support.
+ +.TP8
+ +.B \-notty
+ +If supported by the driver, do not allocate a VT. If one ore more drivers
+ +require a VT, this flag has no effect.
+ .TP 8
+ .B \-novtswitch
+ Disable the automatic switching on X server reset and shutdown to the
+ --
+ 1.8.1