diff --git a/src/corelib/input.c b/src/corelib/input.c index 38ad3b1..fcc36dc 100644 --- a/src/corelib/input.c +++ b/src/corelib/input.c @@ -85,8 +85,7 @@ void process_axis_listener(input_listener_t* listener) { } void process_mouse_listener(input_listener_t* listener, float dx, float dy) { - float mind = listener->mouse.min_delta; - if(dx*dx + dy*dy > mind*mind) { + if(dx != 0.0 && dy != 0.0) { listener->mouse.delegate(dx, dy); } }