[Xfce4-commits] [xfce/xfce4-session] 01/02: Pass VT number to xinit if XDG_VTNR is set

noreply at xfce.org noreply at xfce.org
Sat Mar 28 15:10:48 CET 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-session.

commit 04e45b5bbdefe4e174c95dcbc70a725b8198b50d
Author: Evangelos Foutras <evangelos at foutrelis.com>
Date:   Tue Mar 24 10:09:33 2015 +0200

    Pass VT number to xinit if XDG_VTNR is set
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 scripts/startxfce4.in |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/startxfce4.in b/scripts/startxfce4.in
index d0a74a9..bf3201b 100644
--- a/scripts/startxfce4.in
+++ b/scripts/startxfce4.in
@@ -92,6 +92,10 @@ if test "x$DISPLAY" = "x"
 then
   echo "$0: Starting X server"
   prog=xinit
+
+  if test ! "x$XDG_VTNR" = "x"; then
+    SERVERRC="vt$XDG_VTNR $SERVERRC"
+  fi
 else
   echo "$0: X server already running on display $DISPLAY"
   prog=/bin/sh

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list