diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-06-12 15:50:03 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2013-06-12 15:50:03 +0200 |
commit | 35eb595863af94a9b89cf00fecec21490fe0ffd7 (patch) | |
tree | dfb0fbba02b3c17ecba005428b72b9e5e214154b /src/kmscon_terminal.c | |
parent | 066cf5144595638b8e70b97add195c7e648ecca3 (diff) |
pty: set XDG_VTNR if requested by caller
A caller can now pass a VT-num to the PTY which will get set as XDG_VTNR
in the environment of new childs.
This can be used to tell systemd-logind to associate the session with
the correct VT. But note that this still cannot overwrite VT-associations
if the pty is created from within an existing session.
Reported-by: Thomas Hebb
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'src/kmscon_terminal.c')
0 files changed, 0 insertions, 0 deletions