Skip to content

Commit a0fccf8

Browse files
elmarcoCBenoit
authored andcommitted
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>
1 parent 7c72a9f commit a0fccf8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/ironrdp-server/src/capabilities.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ fn bitmap_capabilities(size: &DesktopSize) -> capability_sets::Bitmap {
2828
pref_bits_per_pix: 32,
2929
desktop_width: size.width,
3030
desktop_height: size.height,
31-
desktop_resize_flag: false,
31+
// This makes freerdp keep the flag up and handle desktop resize/deactivation-reactivation.
32+
// Likely okay to advertize if the server doesn't resize anyway.
33+
desktop_resize_flag: true,
3234
drawing_flags: capability_sets::BitmapDrawingFlags::empty(),
3335
}
3436
}

0 commit comments

Comments
 (0)