projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3510b5
)
Reset idle_handler_id (fixes idle zoom -- bug in 265f52535a7)
author
Robin Gareus
<robin@gareus.org>
Wed, 28 Jun 2017 16:42:10 +0000
(18:42 +0200)
committer
Robin Gareus
<robin@gareus.org>
Wed, 28 Jun 2017 16:45:15 +0000
(18:45 +0200)
If pending_visual_change.pending was zero when calling idle_visual_changer
the handler_id was never reset. and the idle-handler was never called
again.
gtk2_ardour/editor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor.cc
b/gtk2_ardour/editor.cc
index 9095152f772644bd8cb8b6cb9a112c62a6b9dd2a..9750f58e9d50cbbeb16f8800fe5b62487ece5866 100644
(file)
--- a/
gtk2_ardour/editor.cc
+++ b/
gtk2_ardour/editor.cc
@@
-4596,6
+4596,8
@@
Editor::pre_render ()
int
Editor::idle_visual_changer ()
{
+ pending_visual_change.idle_handler_id = -1;
+
if (pending_visual_change.pending == 0) {
return 0;
}
@@
-4610,8
+4612,6
@@
Editor::idle_visual_changer ()
the last one.
*/
- pending_visual_change.idle_handler_id = -1;
-
if (visual_change_queued) {
return 0;
}