[client,common] add setting FreeRDP_MonitorOverrideFlags

use this mask to mark monitor settings set from command line.
This commit is contained in:
akallabeth
2025-04-07 21:23:14 +02:00
parent 6f8dddd5a9
commit 7e11df73ba
8 changed files with 66 additions and 25 deletions

View File

@@ -341,6 +341,11 @@ extern "C"
(CLIPRDR_FLAG_LOCAL_TO_REMOTE | CLIPRDR_FLAG_LOCAL_TO_REMOTE_FILES | \
CLIPRDR_FLAG_REMOTE_TO_LOCAL | CLIPRDR_FLAG_REMOTE_TO_LOCAL_FILES)
/* Commandline helper defines */
#define FREERDP_MONITOR_OVERRIDE_ORIENTATION (1 << 0) /** @since version 3.14.2 */
#define FREERDP_MONITOR_OVERRIDE_DESKTOP_SCALE (1 << 1) /** @since version 3.14.2 */
#define FREERDP_MONITOR_OVERRIDE_DEVICE_SCALE (1 << 2) /** @since version 3.14.2 */
/* ARC_CS_PRIVATE_PACKET */
typedef struct
{

View File

@@ -115,7 +115,10 @@ struct rdp_settings
SETTINGS_DEPRECATED(ALIGN64 BOOL SupportEdgeActionV2); /* 151 */
SETTINGS_DEPRECATED(ALIGN64 BOOL SupportSkipChannelJoin); /* 152 */
SETTINGS_DEPRECATED(ALIGN64 UINT16 SupportedColorDepths); /* 153 */
UINT64 padding0192[192 - 154]; /* 154 */
SETTINGS_DEPRECATED(ALIGN64 UINT64 MonitorOverrideFlags); /** 154
* @since version 3.14.2
*/
UINT64 padding0192[192 - 155]; /* 155 */
/* Client/Server Security Data */
SETTINGS_DEPRECATED(ALIGN64 BOOL UseRdpSecurityLayer); /* 192 */