diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-05-13 13:56:15 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-05-13 13:56:15 -0700 |
commit | e0fc7297f5bd0c4297e6b6b8ca2d7cd80251b1c9 (patch) | |
tree | c59520c6fa41aede3b3e9940518474cade61dc56 /xrdp/xrdp_mm.c | |
parent | 67bd319adf4fafabcb1ea9124b8d64209d3ebcf7 (diff) | |
download | xrdp-proprietary-e0fc7297f5bd0c4297e6b6b8ca2d7cd80251b1c9.tar.gz xrdp-proprietary-e0fc7297f5bd0c4297e6b6b8ca2d7cd80251b1c9.zip |
pass the client_info(caps) on to module and xserver
Diffstat (limited to 'xrdp/xrdp_mm.c')
-rw-r--r-- | xrdp/xrdp_mm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c index c15c4bd5..a41208eb 100644 --- a/xrdp/xrdp_mm.c +++ b/xrdp/xrdp_mm.c @@ -430,6 +430,10 @@ xrdp_mm_setup_mod2(struct xrdp_mm* self) list_add_item(self->login_values, (long)g_strdup(text)); } /* always set these */ + + self->mod->mod_set_param(self->mod, "client_info", + (char*)(self->wm->session->client_info)); + name = self->wm->session->client_info->hostname; self->mod->mod_set_param(self->mod, "hostname", name); g_snprintf(text, 255, "%d", self->wm->session->client_info->keylayout); |