summaryrefslogtreecommitdiff
path: root/gtk2_ardour/piano_roll_header.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-04-16 13:31:27 +0000
committerCarl Hetherington <carl@carlh.net>2011-04-16 13:31:27 +0000
commitcb643ab9652d08a85802ce2a94c5bd57ca31256e (patch)
tree33bdd943f82f03af5e91f79a435213081c7fbeb1 /gtk2_ardour/piano_roll_header.cc
parent443c51fee23855c709c83e016a80895e4e2dc0c7 (diff)
Remove some calls to process_updates() which I think prevent GTK coalescing redraw requests. Remove some debugging code. Suspend update of MIDI regions during scroomer drag to speed things up (#3954).
git-svn-id: svn://localhost/ardour2/branches/3.0@9357 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/piano_roll_header.cc')
-rw-r--r--gtk2_ardour/piano_roll_header.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk2_ardour/piano_roll_header.cc b/gtk2_ardour/piano_roll_header.cc
index 28398678a1..4bb8250fea 100644
--- a/gtk2_ardour/piano_roll_header.cc
+++ b/gtk2_ardour/piano_roll_header.cc
@@ -587,14 +587,7 @@ void
PianoRollHeader::note_range_changed()
{
_note_height = floor(_view.note_height()) + 0.5f;
-
queue_draw();
-
- Glib::RefPtr<Gdk::Window> win = get_window();
-
- if (win) {
- win->process_updates(false);
- }
}
void