Skip to content

Commit

Permalink
Passing constant instead of zero for mouseButton on mouse move
Browse files Browse the repository at this point in the history
  • Loading branch information
noonat committed Nov 8, 2015
1 parent 9edeefc commit 78603ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void moveMouse(MMPoint point)
#if defined(IS_MACOSX)
CGEventRef move = CGEventCreateMouseEvent(NULL, kCGEventMouseMoved,
CGPointFromMMPoint(point),
0);
kCGMouseButtonLeft);
CGEventPost(kCGSessionEventTap, move);
CFRelease(move);
#elif defined(USE_X11)
Expand Down

0 comments on commit 78603ff

Please sign in to comment.