projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
batch render solution for unsafe buttons by Andrew +
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
dragcheckbox.C
diff --git
a/cinelerra-5.1/cinelerra/dragcheckbox.C
b/cinelerra-5.1/cinelerra/dragcheckbox.C
index c2e1f5d4829c4a0b1cf2be49bb1b87633041a201..8f699bdb7e9710ef27a93f98cf2d842cef7aa044 100644
(file)
--- a/
cinelerra-5.1/cinelerra/dragcheckbox.C
+++ b/
cinelerra-5.1/cinelerra/dragcheckbox.C
@@
-84,6
+84,14
@@
void DragCheckBox::drag_deactivate()
dragging = 0;
}
+int DragCheckBox::handle_ungrab()
+{
+ drag_deactivate();
+ update(*value = 0);
+ update_gui();
+ return 1;
+}
+
int DragCheckBox::check_pending()
{
if( pending && !grab_event_count() ) {