
Let's start this new year (best wishes) with some RDP stuff, in this post I will talk
of an implementation to resize the window in xfreerdp.
Context
FreeRDP already had the smart-sizing option, it allows to see the window with a
given aspect ratio: 100, 150 ou 180 percent.
With the MS-RDPEDISP specification, the client can send its monitors
layout to the server in real time, that allows the server to react when an output is plugged
or unplugged, or when the resolution changes. You can experiment that with mstsc in
fullscreen mode, if you change resolution while the mstsc window is iconized, when you
uniconize, it is supposed to resize.
You can also use that specification to make the RDP window resizable: you announce a
monitor that has the size of the client window.
Read more…