xfreerdp: fix command line mouse motion setting.

This commit is contained in:
roman-b 2011-08-27 01:33:07 +03:00
parent 43bcfb4a3c
commit 4aa281feba
3 changed files with 3 additions and 2 deletions

View File

@ -310,7 +310,7 @@ boolean xf_pre_connect(freerdp* instance)
xfi->depth = DefaultDepthOfScreen(xfi->screen);
xfi->big_endian = (ImageByteOrder(xfi->display) == MSBFirst);
xfi->mouse_motion = False;
xfi->mouse_motion = settings->mouse_motion;
xfi->complex_regions = True;
xfi->decoration = settings->decorations;
xfi->remote_app = settings->remote_app;

View File

@ -147,6 +147,7 @@ rdpSettings* settings_new()
settings->uniconv = freerdp_uniconv_new();
gethostname(settings->client_hostname, sizeof(settings->client_hostname) - 1);
settings->mouse_motion = False;
}
return settings;

View File

@ -244,7 +244,7 @@ int freerdp_parse_args(rdpSettings* settings, int argc, char** argv,
}
else if (strcmp("-m", argv[index]) == 0)
{
settings->mouse_motion = 0;
settings->mouse_motion = True;
}
else if (strcmp("--app", argv[index]) == 0)
{