xfreerdp: fix command line mouse motion setting.
This commit is contained in:
parent
43bcfb4a3c
commit
4aa281feba
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user