Skip to content

Commit

Permalink
Update for unification of monitor processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexarian committed Mar 21, 2022
1 parent 752b765 commit b9de2ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions module/rdpClientCon.c
Original file line number Diff line number Diff line change
Expand Up @@ -971,14 +971,14 @@ rdpClientConProcessMsgClientInfo(rdpPtr dev, rdpClientCon *clientCon)
{
LLOGLN(0, (" client can not do new(color) cursor"));
}
if (clientCon->client_info.monitorCount > 0)
if (clientCon->client_info.display_sizes.monitorCount > 0)
{
LLOGLN(0, (" client can do multimon"));
LLOGLN(0, (" client monitor data, monitorCount=%d", clientCon->client_info.monitorCount));
LLOGLN(0, (" client monitor data, monitorCount=%d", clientCon->client_info.display_sizes.monitorCount));
clientCon->doMultimon = 1;
dev->doMultimon = 1;
memcpy(dev->minfo, clientCon->client_info.minfo, sizeof(dev->minfo));
dev->monitorCount = clientCon->client_info.monitorCount;
memcpy(dev->minfo, clientCon->client_info.display_sizes.minfo, sizeof(dev->minfo));
dev->monitorCount = clientCon->client_info.display_sizes.monitorCount;

box.x1 = dev->minfo[0].left;
box.y1 = dev->minfo[0].top;
Expand Down
3 changes: 2 additions & 1 deletion scripts/install_xorgxrdp_build_dependencies_with_apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ in
;;
esac

exec apt-get -yq \
apt-get update
apt-get -yq \
--no-install-suggests \
--no-install-recommends \
$APT_EXTRA_ARGS \
Expand Down

0 comments on commit b9de2ee

Please sign in to comment.