diff --git a/src/libuiohook.patch b/src/libuiohook.patch index 92f77f0..0ad903a 100644 --- a/src/libuiohook.patch +++ b/src/libuiohook.patch @@ -1,3 +1,16 @@ +diff --git a/src/darwin/input_hook.c b/src/darwin/input_hook.c +index e6cd6ce..04d040b 100644 +--- a/src/darwin/input_hook.c ++++ b/src/darwin/input_hook.c +@@ -958,7 +958,7 @@ CGEventRef hook_event_proc(CGEventTapProxy tap_proxy, CGEventType type, CGEventR + unset_modifier_mask(MOUSE_BUTTON5); + } + +- process_button_pressed(timestamp, event_ref, button); ++ process_button_released(timestamp, event_ref, button); + } + break; + diff --git a/src/windows/input_helper.c b/src/windows/input_helper.c index e690021..0d383e0 100644 --- a/src/windows/input_helper.c