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:
Martin Fleisz 2022-09-05 09:48:30 +02:00 committed by David Fort
parent f647296122
commit d8ac6e978e

View File

@ -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;