From e5bb4c94edc5e796e021be028a77102f0e1a7b79 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 6 Jun 2012 01:43:35 +0000 Subject: kludgy hack/fix for plugin windows reappearing at (0,0) after re-activating ardour as app on OS X. having spent an entire day investigating the issue, this seems like an expedient though sad fix git-svn-id: svn://localhost/ardour2/branches/3.0@12573 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/plugin_ui.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/plugin_ui.h') diff --git a/gtk2_ardour/plugin_ui.h b/gtk2_ardour/plugin_ui.h index a65fd1a223..6b886cf268 100644 --- a/gtk2_ardour/plugin_ui.h +++ b/gtk2_ardour/plugin_ui.h @@ -312,6 +312,11 @@ class PluginUIWindow : public Gtk::Window Gtk::VBox vbox; bool was_visible; bool _keyboard_focused; +#ifdef AUDIOUNIT_SUPPORT + int pre_deactivate_x; + int pre_deactivate_y; +#endif + void keyboard_focused (bool yn); void app_activated (bool); -- cgit v1.2.3