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