mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-27 03:44:06 +08:00
x11: Fix disconnects if WITH_XCURSOR is set to OFF
Fix disconnects if WITH_XCURSOR is set to OFF. In that case xf_Pointer_New currently returns FALSE causing a disconnect.
This commit is contained in:
parent
f647296122
commit
d8ac6e978e
@ -447,10 +447,10 @@ static BOOL xf_Pointer_New(rdpContext* context, rdpPointer* pointer)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
rc = TRUE;
|
||||
|
||||
#endif
|
||||
|
||||
rc = TRUE;
|
||||
|
||||
fail:
|
||||
WLog_DBG(TAG, "%s: %p", __func__, rc ? pointer : NULL);
|
||||
return rc;
|
||||
|
Loading…
Reference in New Issue
Block a user