diff options
author | Robin Gareus <robin@gareus.org> | 2014-02-21 17:28:47 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-02-22 03:11:48 +0100 |
commit | 40aa7e5e9034321f8af0b3067bd5f3005c537d5d (patch) | |
tree | b938f43360f4512af99d1324d1b93fcf2d75d89d /gtk2_ardour/vst_plugin_ui.cc | |
parent | 99076689f74a1d1a2cc33e9bc7d22131c3a04633 (diff) |
first part of merging windows and wine VST
libfst is now very ardour specific (no longer compatible with /upstream/)
Diffstat (limited to 'gtk2_ardour/vst_plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/vst_plugin_ui.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk2_ardour/vst_plugin_ui.cc b/gtk2_ardour/vst_plugin_ui.cc index 6c30813821..be8eae3240 100644 --- a/gtk2_ardour/vst_plugin_ui.cc +++ b/gtk2_ardour/vst_plugin_ui.cc @@ -79,6 +79,21 @@ VSTPluginUI::package (Gtk::Window& win) } bool +VSTPluginUI::on_window_show(const std::string& title) +{ + _vst->state()->gui_shown = 1; + return PlugUIBase::on_window_show(title); +} + +void +VSTPluginUI::on_window_hide() +{ + _vst->state()->gui_shown = 0; + PlugUIBase::on_window_hide(); +} + + +bool VSTPluginUI::configure_handler (GdkEventConfigure*) { XEvent event; |