Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into devel
This commit is contained in:
commit
253500ed4d
@ -1929,7 +1929,7 @@ xrdp_sec_process_mcs_data_monitors(struct xrdp_sec *self, struct stream *s)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
x1 = MIN(x1, client_info->minfo[index].left);
|
x1 = MIN(x1, client_info->minfo[index].left);
|
||||||
y1 = MIN(y1, client_info->minfo[index].top);
|
y1 = MIN(y1, client_info->minfo[index].top);
|
||||||
x2 = MAX(x2, client_info->minfo[index].right);
|
x2 = MAX(x2, client_info->minfo[index].right);
|
||||||
y2 = MAX(y2, client_info->minfo[index].bottom);
|
y2 = MAX(y2, client_info->minfo[index].bottom);
|
||||||
@ -1941,7 +1941,7 @@ xrdp_sec_process_mcs_data_monitors(struct xrdp_sec *self, struct stream *s)
|
|||||||
|
|
||||||
if ((x2 > x1) && (y2 > y1))
|
if ((x2 > x1) && (y2 > y1))
|
||||||
{
|
{
|
||||||
client_info->width = (x2 - x1) + 1;
|
client_info->width = (x2 - x1) + 1;
|
||||||
client_info->height = (y2 - y1) + 1;
|
client_info->height = (y2 - y1) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user