diff options
Diffstat (limited to 'audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc')
-rw-r--r-- | audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc b/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc index 2b54c7551c99..0afc91f5408f 100644 --- a/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc +++ b/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc @@ -6,8 +6,8 @@ - bool x_threshold_passed = (abs ((nframes64_t) (drag_info.current_pointer_x - drag_info.grab_x)) > 4LL); - bool y_threshold_passed = (abs ((nframes64_t) (drag_info.current_pointer_y - drag_info.grab_y)) > 4LL); -+ bool x_threshold_passed = (abs ((long long) (drag_info.current_pointer_x - drag_info.grab_x)) > 4LL); -+ bool y_threshold_passed = (abs ((long long) (drag_info.current_pointer_y - drag_info.grab_y)) > 4LL); ++ bool x_threshold_passed = (::llabs ((nframes64_t) (drag_info.current_pointer_x - drag_info.grab_x)) > 4LL); ++ bool y_threshold_passed = (::llabs ((nframes64_t) (drag_info.current_pointer_y - drag_info.grab_y)) > 4LL); drag_info.move_threshold_passed = (x_threshold_passed || y_threshold_passed); |