libxrdp: add monitorCount to client_info struct
This commit is contained in:
parent
daf22b79f6
commit
92e876ea42
@ -108,6 +108,7 @@ struct xrdp_client_info
|
|||||||
|
|
||||||
int nego_sec_layer; /* 0, 1, 2 = RDP security layer, TLS , Negotiate */
|
int nego_sec_layer; /* 0, 1, 2 = RDP security layer, TLS , Negotiate */
|
||||||
int multimon; /* 0 = deny , 1 = allow */
|
int multimon; /* 0 = deny , 1 = allow */
|
||||||
|
int monitorCount; /* number of monitors detected (max = 16) */
|
||||||
struct monitor_info minfo[16]; /* client monitor data */
|
struct monitor_info minfo[16]; /* client monitor data */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -990,6 +990,8 @@ xrdp_sec_process_mcs_data_monitors(struct xrdp_sec *self, struct stream *s)
|
|||||||
|
|
||||||
g_writeln("monitorCount= %d", monitorCount); // for debugging only
|
g_writeln("monitorCount= %d", monitorCount); // for debugging only
|
||||||
|
|
||||||
|
client_info->monitorCount = monitorCount;
|
||||||
|
|
||||||
/* Add client_monitor_data to client_info struct, will later pass to X11rdp */
|
/* Add client_monitor_data to client_info struct, will later pass to X11rdp */
|
||||||
for (index = 0; index < monitorCount; index++)
|
for (index = 0; index < monitorCount; index++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user