summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-10-29 18:31:13 +0100
committerRobin Gareus <robin@gareus.org>2014-10-29 18:31:13 +0100
commitda4365255ce6956a0a68f9c51f11d11c10ff8aa1 (patch)
treea760957ef67494a513c5b6d460b42e08a8e53cb8 /gtk2_ardour
parent1d0612ceb6e9a373500307a4d51d96c1c37e185b (diff)
fix typo in 58fec98a
the documentation was correct: “GTK+ uses G_PRIORITY_HIGH_IDLE + 10 for resizing operations, and G_PRIORITY_HIGH_IDLE + 20 for redrawing operations.” but the priority for the idle visual changer was wrong. fixes, follow-playhead and zoom/scrolling under load (no idle)
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 4c747638eb..ba4eb09cd1 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -4386,7 +4386,7 @@ Editor::ensure_visual_change_idle_handler ()
{
if (pending_visual_change.idle_handler_id < 0) {
// see comment in add_to_idle_resize above.
- pending_visual_change.idle_handler_id = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE + 20, _idle_visual_changer, this, NULL);
+ pending_visual_change.idle_handler_id = g_idle_add_full (G_PRIORITY_HIGH_IDLE + 10, _idle_visual_changer, this, NULL);
pending_visual_change.being_handled = false;
}
}