Skip to content

Commit

Permalink
Merge pull request FreeRDP#3677 from alex7ce/master
Browse files Browse the repository at this point in the history
Added missing pointer.SetPosition to corrected crash
  • Loading branch information
bmiklautz authored Jan 9, 2017
2 parents 90877f5 + 519de29 commit f53d035
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions client/Windows/wf_graphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,14 @@ static BOOL wf_Pointer_SetDefault(rdpContext* context)
return TRUE;
}

static BOOL wf_Pointer_SetPosition(rdpContext* context, UINT32 x, UINT32 y)
{
if (!context)
return FALSE;

return TRUE;
}

BOOL wf_register_pointer(rdpGraphics* graphics)
{
wfContext* wfc;
Expand All @@ -334,6 +342,7 @@ BOOL wf_register_pointer(rdpGraphics* graphics)
pointer.Set = wf_Pointer_Set;
pointer.SetNull = wf_Pointer_SetNull;
pointer.SetDefault = wf_Pointer_SetDefault;
pointer.SetPosition = wf_Pointer_SetPosition;
graphics_register_pointer(graphics, &pointer);
return TRUE;
}
Expand Down

0 comments on commit f53d035

Please sign in to comment.