[server,shadow] force relative mouse disabled

Since we do not implement the required callbacks ensure we do not send
the capability for it to connecting clients.
This commit is contained in:
Armin Novak 2023-12-19 15:09:38 +01:00 committed by David Fort
parent 8613613913
commit 3735440166
1 changed files with 5 additions and 0 deletions

View File

@ -131,6 +131,11 @@ int main(int argc, char** argv)
!freerdp_settings_set_bool(settings, FreeRDP_GfxProgressiveV2, TRUE))
goto fail;
/* TODO: We do not implement relative mouse callbacks, so deactivate it for now */
if (!freerdp_settings_set_bool(settings, FreeRDP_MouseUseRelativeMove, FALSE) ||
!freerdp_settings_set_bool(settings, FreeRDP_HasRelativeMouseEvent, FALSE))
goto fail;
if ((status = shadow_server_parse_command_line(server, argc, argv, shadow_args)) < 0)
{
shadow_server_command_line_status_print(server, argc, argv, status, shadow_args);