projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x265 update 2.7, findobj upgrade, fix svg init, fix for dragchkbox buttonpress, add...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
dragcheckbox.C
diff --git
a/cinelerra-5.1/cinelerra/dragcheckbox.C
b/cinelerra-5.1/cinelerra/dragcheckbox.C
index 559851eb9a90754afef92c06c863f19f24008e53..4db99b919546662e6c6c1346cec29ce4d15b7bf7 100644
(file)
--- a/
cinelerra-5.1/cinelerra/dragcheckbox.C
+++ b/
cinelerra-5.1/cinelerra/dragcheckbox.C
@@
-159,7
+159,9
@@
int DragCheckBox::grab_event(XEvent *event)
fabs(drag_dy = cursor_y-y1) < r ) dragging = 8;
else if( fabs(drag_dx = cursor_x-x1) < r && // x1,y1
fabs(drag_dy = cursor_y-y1) < r ) dragging = 9;
+ else
return 0;
+ return 1;
}
int cur_x = cursor_x - drag_dx;
int cur_y = cursor_y - drag_dy;