[client,common] guard ainput access with correct guard
This commit is contained in:
parent
82dc655979
commit
8bd1e72dd4
@ -2151,7 +2151,7 @@ BOOL freerdp_client_use_relative_mouse_events(rdpClientContext* ccontext)
|
||||
const BOOL useRelative = freerdp_settings_get_bool(settings, FreeRDP_MouseUseRelativeMove);
|
||||
const BOOL haveRelative = freerdp_settings_get_bool(settings, FreeRDP_HasRelativeMouseEvent);
|
||||
BOOL ainput = false;
|
||||
#if defined(CHANNEL_AINPUT_SERVER)
|
||||
#if defined(CHANNEL_AINPUT_CLIENT)
|
||||
ainput = ccontext->ainput != NULL;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user