1
0

patch-startx_cpp 740 B

12345678910111213141516171819202122232425262728293031
  1. --- xinit-1.2.1.orig/startx.cpp 2010-03-15 23:35:56.000000000 +0100
  2. +++ xinit-1.2.1/startx.cpp 2010-12-13 17:44:35.000000000 +0100
  3. @@ -242,18 +242,7 @@ if [ x"$enable_xauth" = x1 ] ; then
  4. removelist=
  5. XCOMM set up default Xauth info for this machine
  6. - case `uname` in
  7. - Linux*)
  8. - if [ -z "`hostname --version 2>&1 | grep GNU`" ]; then
  9. - hostname=`hostname -f`
  10. - else
  11. - hostname=`hostname`
  12. - fi
  13. - ;;
  14. - *)
  15. - hostname=`hostname`
  16. - ;;
  17. - esac
  18. + hostname=`hostname`
  19. authdisplay=${display:-:0}
  20. #if defined(HAS_COOKIE_MAKER) && defined(MK_COOKIE)
  21. @@ -347,5 +336,8 @@ screenrestore
  22. kbd_mode -a
  23. #endif
  24. +xset dpms 0 0 60
  25. +xset s 0
  26. +
  27. exit $retval