diff options
author | speidy <speidy@gmail.com> | 2013-11-05 21:38:05 +0200 |
---|---|---|
committer | speidy <speidy@gmail.com> | 2013-11-05 21:38:05 +0200 |
commit | 4bce6f78c098bf98e0dcd33753b844daa8803e1e (patch) | |
tree | 6a84f50fd5f9c6912480bf1b1b8b41d57e848414 | |
parent | 92e876ea42c35d444612fb3f266335189795b2eb (diff) | |
download | xrdp-proprietary-4bce6f78c098bf98e0dcd33753b844daa8803e1e.tar.gz xrdp-proprietary-4bce6f78c098bf98e0dcd33753b844daa8803e1e.zip |
X11rdp: starting to add multimon
-rw-r--r-- | xorg/X11R7.6/rdp/rdpup.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xorg/X11R7.6/rdp/rdpup.c b/xorg/X11R7.6/rdp/rdpup.c index 4e9b9659..52472121 100644 --- a/xorg/X11R7.6/rdp/rdpup.c +++ b/xorg/X11R7.6/rdp/rdpup.c @@ -149,6 +149,8 @@ static int g_disconnect_scheduled = 0; static CARD32 g_disconnect_timeout_s = 60; /* 60 seconds */ static CARD32 g_disconnect_time_ms = 0; /* time of disconnect in milliseconds */ +static int g_do_multimon = 0; /* multimon - turn on or off */ + /******************************************************************************/ static CARD32 rdpDeferredDisconnectCallback(OsTimerPtr timer, CARD32 now, pointer arg) @@ -1103,6 +1105,17 @@ rdpup_process_msg(struct stream *s) { LLOGLN(0, (" client can not do new(color) cursor")); } + if (g_rdpScreen.client_info.monitorCount > 0) + { + LLOGLN(0, (" client can do multimon")); + LLOGLN(0, (" client monitor data, monitorCount= %d", g_rdpScreen.client_info.monitorCount)); + g_do_multimon = 1; + } + else + { + LLOGLN(0, (" client can not do multimon")); + g_do_multimon = 0; + } } else if (msg_type == 105) { |