diff options
author | Robin Gareus <robin@gareus.org> | 2014-09-07 20:23:22 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-09-07 20:23:50 +0200 |
commit | f23f379b37a5f4e68972a5f6c07a814c10503fdb (patch) | |
tree | c9eefd8a95ae3bef78a850e7e9885fec4f22f75c /gtk2_ardour/editor_routes.h | |
parent | 1bb6fd752c50b5face6ae46629a05b1678d5e1a9 (diff) |
don't loose a redraw.
This more or less obsoletes the DisplaySuspender.
While RAII is nice, the DisplaySuspender cannot be
used from outside gtk2_ardour eg Mute/Solo signals
notifications from libardour (which don't originate
from the GUI).
The DisplaySuspender is still useful, because it
explicitly disables re-display and forces a single
expose at the end.
Diffstat (limited to 'gtk2_ardour/editor_routes.h')
-rw-r--r-- | gtk2_ardour/editor_routes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_routes.h b/gtk2_ardour/editor_routes.h index 0d299f0d0f..8213e653ec 100644 --- a/gtk2_ardour/editor_routes.h +++ b/gtk2_ardour/editor_routes.h @@ -60,6 +60,7 @@ public: private: void initial_display (); + void redisplay_real (); void on_input_active_changed (std::string const &); void on_tv_rec_enable_changed (std::string const &); void on_tv_mute_enable_toggled (std::string const &); @@ -152,11 +153,10 @@ private: bool _ignore_reorder; bool _no_redisplay; - bool _redisplaying; - bool _redisplay_2; bool _adding_routes; bool _route_deletion_in_progress; - int _queue_mute_rec_solo_etc; + volatile gint _redisplay_active; + volatile gint _queue_tv_update; Gtk::Menu* _menu; Gtk::Widget* old_focus; |