From da4365255ce6956a0a68f9c51f11d11c10ff8aa1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 29 Oct 2014 18:31:13 +0100 Subject: [PATCH] fix typo in 58fec98a MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- gtk2_ardour/editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }