[Summary]: fix bug #45262 (Track control buttons (input monitoring and mute) have sluggish reaction on click). This bug was actual in case of using ~100 tracks. DisplaySuspender removal helps to provide instant reaction on click.

This commit is contained in:
YPozdnyakov 2015-01-06 12:53:26 +02:00
parent 05a08091ab
commit 56ba944ba0

View file

@ -433,7 +433,6 @@ RouteUI::mute_press (GdkEventButton* ev)
_mute_release->routes = rl;
}
DisplaySuspender ds;
_session->set_mute (rl, !_route->muted());
}
@ -677,7 +676,6 @@ RouteUI::monitor_press (GdkEventButton* ev, MonitorChoice monitor_choice)
rl->push_back (route());
}
DisplaySuspender ds;
_session->set_monitoring (rl, mc, Session::rt_cleanup, true);
return true;