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;
settings->uniconv = freerdp_uniconv_new();
gethostname(settings->client_hostname, sizeof(settings->client_hostname) - 1);
+ settings->mouse_motion = False;
}
return settings;
}
else if (strcmp("-m", argv[index]) == 0)
{
- settings->mouse_motion = 0;
+ settings->mouse_motion = True;
}
else if (strcmp("--app", argv[index]) == 0)
{