diff options
author | midipix <writeonce@midipix.org> | 2016-07-17 14:49:49 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-07-21 03:47:29 -0400 |
commit | d918bea72978afa375c83b167a70a814bcaf2a95 (patch) | |
tree | 8e0ffd745d0e00e0dfb4263afbd3bf94c3b2b193 /src/pty | |
parent | 107e968247f2f44ff54a72d0281b974a7926ca44 (diff) | |
download | ptycon-d918bea72978afa375c83b167a70a814bcaf2a95.tar.bz2 ptycon-d918bea72978afa375c83b167a70a814bcaf2a95.tar.xz |
pty layer: set client information for pty inheritance.
Diffstat (limited to 'src/pty')
-rw-r--r-- | src/pty/ptyc_pty_ctx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pty/ptyc_pty_ctx.c b/src/pty/ptyc_pty_ctx.c index f0e416d..99d8c69 100644 --- a/src/pty/ptyc_pty_ctx.c +++ b/src/pty/ptyc_pty_ctx.c @@ -200,6 +200,10 @@ int ptyc_alloc_pty(struct ptyc_driver_ctx * dctx) return ptyc_set_status( dctx,status); + if ((status = ptyc_set_client_info(cctx->hpts,&ictx->clctx.clinfo))) + return ptyc_set_status( + dctx,status); + if (cctx->drvflags & PTYC_DRIVER_DBG_RAW) if ((status = ptyc_make_raw(cctx->hpts))) return ptyc_set_status( |