diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-10-09 14:15:50 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-10-09 14:15:50 -0700 |
commit | 086481395c966850f8175921202f246805d73ded (patch) | |
tree | b3a413c613d3ec0359b988912d626fd1dafc5be3 /libxrdp/xrdp_rdp.c | |
parent | 25369460a1b2f204d03a6bc4821251d7ef2d7adf (diff) | |
parent | a4d2917a0a169c0672dc61be4f7b4689a02278b3 (diff) | |
download | xrdp-proprietary-086481395c966850f8175921202f246805d73ded.tar.gz xrdp-proprietary-086481395c966850f8175921202f246805d73ded.zip |
Merge branch 'multimon' of git://github.com/speidy/xrdp into speidy-multimon
Conflicts:
common/xrdp_client_info.h
libxrdp/xrdp_iso.c
libxrdp/xrdp_sec.c
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r-- | libxrdp/xrdp_rdp.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c index da43ed23..3fcdd734 100644 --- a/libxrdp/xrdp_rdp.c +++ b/libxrdp/xrdp_rdp.c @@ -127,6 +127,14 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info) log_message(LOG_LEVEL_DEBUG,"Info - All channels are disabled"); } } + else if (g_strcasecmp(item, "allow_multimon") == 0) + { + client_info->multimon = text2bool(value); + if (client_info->multimon == 0) + { + log_message(LOG_LEVEL_DEBUG,"Info - Multi monitor server support disabled"); + } + } else if (g_strcasecmp(item, "max_bpp") == 0) { client_info->max_bpp = g_atoi(value); @@ -219,7 +227,7 @@ xrdp_rdp_create(struct xrdp_session *session, struct trans *trans) xrdp_rdp_read_config(&self->client_info); /* create sec layer */ self->sec_layer = xrdp_sec_create(self, trans, self->client_info.crypt_level, - self->client_info.channel_code); + self->client_info.channel_code, self->client_info.multimon); /* default 8 bit v1 color bitmap cache entries and size */ self->client_info.cache1_entries = 600; self->client_info.cache1_size = 256; |