aboutsummaryrefslogtreecommitdiff
path: root/audio/ardour
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2007-10-09 17:12:02 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2007-10-09 17:12:02 +0000
commitfa785899616b059d34a06ff81e0d36a0eb333a48 (patch)
treedb998bfdf15ea377478b9313415125506b33c746 /audio/ardour
parentf6a7167d817828a78d1b10a374a66a36eeeccff2 (diff)
Notes
Diffstat (limited to 'audio/ardour')
-rw-r--r--audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc b/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc
new file mode 100644
index 000000000000..2b54c7551c99
--- /dev/null
+++ b/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc
@@ -0,0 +1,13 @@
+--- gtk2_ardour/editor_mouse.cc.orig 2007-10-04 12:36:29.000000000 +0200
++++ gtk2_ardour/editor_mouse.cc 2007-10-04 12:37:18.000000000 +0200
+@@ -1449,8 +1449,8 @@
+ */
+ if (!drag_info.move_threshold_passed) {
+
+- 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);
+
+ drag_info.move_threshold_passed = (x_threshold_passed || y_threshold_passed);
+