summary refs log tree commit diff
path: root/gnu/services/xorg.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-24 10:59:28 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-24 11:01:07 +0100
commitf2ab9250283ceb8e36ef90eb1b411a1f5e126f57 (patch)
tree5150a911191595707f726bb290506a6264d12955 /gnu/services/xorg.scm
parent473dbe9b19b26bf3dafbd7d9f9b931b0485e14dc (diff)
downloadguix-f2ab9250283ceb8e36ef90eb1b411a1f5e126f57.tar.gz
services: xorg: Fix ~/.xsession handling.
Fixes a regression introduced in c510cbb4ecb270ca3edf282c6769aa2bfb144822.

* gnu/services/xorg.scm (xinitrc)[builder]: Add missing 'apply' when
XSESSION-FILE exists.
Diffstat (limited to 'gnu/services/xorg.scm')
-rw-r--r--gnu/services/xorg.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index e16247b3b8..9908b9526b 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -250,7 +250,7 @@ which should be passed to this script as the first argument.  If not, the
                                 ((_ x ..1) x))))
           (if (file-exists? xsession-file)
               ;; Run ~/.xsession when it exists.
-              (exec-from-login-shell xsession-file session)
+              (apply exec-from-login-shell xsession-file session)
               ;; Otherwise, start the specified session.
               (apply exec-from-login-shell session)))))