mirror of https://github.com/neutrinolabs/xrdp
d5445e9dc1
To implement a scalable login screen, we need to be able to ascertain the DPI of the connected primary monitor. At present, in a multi-monitor situation, this information is available in the struct display_size_description, which can be searched for the primary monitor. This is only the case however if the Display Control Channel Extension is in use ([MS-RDPEDISP]), and a DISPLAYCONTROL_MONITOR_LAYOUT has been received. This PR retrieves physical monitor size information from the following two additional places. 1) The TS_UD_CS_CORE PDU. Physical size information is optionally included in this PDU for single-screen configurations. 2) The TS_UD_CS_MONITOR_EX PDU. This includes physical size information for multiple-screen configurations. |
||
---|---|---|
.. | ||
Makefile.am | ||
libxrdp.c | ||
libxrdp.h | ||
libxrdpinc.h | ||
xrdp_bitmap32_compress.c | ||
xrdp_bitmap_compress.c | ||
xrdp_caps.c | ||
xrdp_channel.c | ||
xrdp_channel.h | ||
xrdp_fastpath.c | ||
xrdp_iso.c | ||
xrdp_jpeg_compress.c | ||
xrdp_mcs.c | ||
xrdp_mppc_enc.c | ||
xrdp_orders.c | ||
xrdp_orders_rail.c | ||
xrdp_orders_rail.h | ||
xrdp_rdp.c | ||
xrdp_sec.c | ||
xrdp_surface.c |