mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
merge 12436:12607 from svn+ssh://ardoursvn@subversion.ardour.org/ardour2/branches/3.0
git-svn-id: svn://localhost/ardour2/branches/3.0-SG@12608 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6ef90ffe5c
commit
f228d2c68e
86 changed files with 6512 additions and 4626 deletions
|
|
@ -89,6 +89,11 @@ PluginUIWindow::PluginUIWindow (
|
|||
: parent (win)
|
||||
, was_visible (false)
|
||||
, _keyboard_focused (false)
|
||||
#ifdef AUDIOUNIT_SUPPORT
|
||||
, pre_deactivate_x (-1)
|
||||
, pre_deactivate_y (-1)
|
||||
#endif
|
||||
|
||||
{
|
||||
bool have_gui = false;
|
||||
|
||||
|
|
@ -341,11 +346,15 @@ PluginUIWindow::app_activated (bool)
|
|||
if (yn) {
|
||||
if (was_visible) {
|
||||
_pluginui->activate ();
|
||||
if (pre_deactivate_x >= 0) {
|
||||
move (pre_deactivate_x, pre_deactivate_y);
|
||||
}
|
||||
present ();
|
||||
was_visible = true;
|
||||
}
|
||||
} else {
|
||||
was_visible = is_visible();
|
||||
get_position (pre_deactivate_x, pre_deactivate_y);
|
||||
hide ();
|
||||
_pluginui->deactivate ();
|
||||
}
|
||||
|
|
@ -783,3 +792,4 @@ PlugUIBase::preset_added_or_removed ()
|
|||
update_preset_list ();
|
||||
update_preset ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue