Skip to content

Commit

Permalink
src: fix warning w.r.t. PtrAddEvent()
Browse files Browse the repository at this point in the history
  • Loading branch information
bk138 committed Mar 8, 2024
1 parent 2e4345d commit 4b59b84
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,7 @@ KbdAddEvent(rfbBool down, rfbKeySym keySym, struct _rfbClientRec* cl)

/* Synthesize a mouse event. This is not called on the main thread due to rfbRunEventLoop(..,..,TRUE), but it works. */
void
PtrAddEvent(buttonMask, x, y, cl)
int buttonMask;
int x;
int y;
rfbClientPtr cl;
PtrAddEvent(int buttonMask, int x, int y, rfbClientPtr cl)
{
CGPoint position;
CGRect displayBounds = CGDisplayBounds(displayID);
Expand Down

0 comments on commit 4b59b84

Please sign in to comment.