mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
feat(server): advertize Bitmap::desktopResizeFlag
This makes freerdp keep the flag up and handle desktop resize/deactivation-reactivation. It should be okay to advertize, if the server doesn't resize anyway, I guess. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
7c72a9f9bb
commit
a0fccf8d1a
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ fn bitmap_capabilities(size: &DesktopSize) -> capability_sets::Bitmap {
|
|||
pref_bits_per_pix: 32,
|
||||
desktop_width: size.width,
|
||||
desktop_height: size.height,
|
||||
desktop_resize_flag: false,
|
||||
// This makes freerdp keep the flag up and handle desktop resize/deactivation-reactivation.
|
||||
// Likely okay to advertize if the server doesn't resize anyway.
|
||||
desktop_resize_flag: true,
|
||||
drawing_flags: capability_sets::BitmapDrawingFlags::empty(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue