Added missing pointer callback.
@@ -51,6 +51,7 @@ static void mf_Pointer_Free(rdpContext* context, rdpPointer* pointer);
static BOOL mf_Pointer_Set(rdpContext* context, const rdpPointer* pointer);
static BOOL mf_Pointer_SetNull(rdpContext* context);
static BOOL mf_Pointer_SetDefault(rdpContext* context);
+static BOOL mf_Pointer_SetPosition(rdpContext* context, UINT32 x, UINT32 y);
static BOOL mac_begin_paint(rdpContext* context);
static BOOL mac_end_paint(rdpContext* context);
@@ -940,6 +941,7 @@ BOOL mac_post_connect(freerdp* instance)
rdp_pointer.Set = mf_Pointer_Set;
rdp_pointer.SetNull = mf_Pointer_SetNull;
rdp_pointer.SetDefault = mf_Pointer_SetDefault;
+ rdp_pointer.SetPosition = mf_Pointer_SetPosition;
settings = instance->settings;
if (!gdi_init(instance, PIXEL_FORMAT_BGRX32))
@@ -1139,6 +1141,17 @@ BOOL mf_Pointer_SetDefault(rdpContext* context)
return TRUE;
}
+static BOOL mf_Pointer_SetPosition(rdpContext* context, UINT32 x, UINT32 y)
+{
+ mfContext* mfc = (mfContext*) context;
+
+ if (!mfc)
+ return FALSE;
+
+ /* TODO: Set pointer position */
+ return TRUE;
+}
+
CGContextRef mac_create_bitmap_context(rdpContext* context)
{
CGContextRef bitmap_context;
