diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-27 22:57:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-27 22:57:06 +0000 |
commit | 11415b49be02f16495c95d6286c485ac8afc5189 (patch) | |
tree | 8541101b792c6659994aedbd1ac19714e7ef4c2e /gtk2_ardour/au_pluginui.mm | |
parent | 5ba1996fd70f05362c70b54e68261b955659f291 (diff) |
first pass at the big rethink of managing sort order keys for editor and mixer. this appears to work, but remote control IDs are not yet correct (frequently off by one because of the presence of the master bus in the editor)
git-svn-id: svn://localhost/ardour2/branches/3.0@12953 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/au_pluginui.mm')
-rw-r--r-- | gtk2_ardour/au_pluginui.mm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm index 359b32478a..0433d2502d 100644 --- a/gtk2_ardour/au_pluginui.mm +++ b/gtk2_ardour/au_pluginui.mm @@ -568,12 +568,13 @@ AUPluginUI::parent_carbon_window () int packing_extra = 6; // this is the total vertical packing in our top level window - MoveWindow (carbon_window, x, y + titlebar_height + top_box.get_height() + packing_extra, false); - ShowWindow (carbon_window); - // create the cocoa window for the carbon one and make it visible cocoa_parent = [[NSWindow alloc] initWithWindowRef: carbon_window]; + PositionWindow (carbon_window, [cocoa_parent windowRef], kWindowCascadeStartAtParentWindowScreen); + MoveWindow (carbon_window, x, y + titlebar_height + top_box.get_height() + packing_extra, false); + ShowWindow (carbon_window); + SetWindowActivationScope (carbon_window, kWindowActivationScopeNone); _notify = [ [NotificationObject alloc] initWithPluginUI:this andCocoaParent:cocoa_parent andTopLevelParent:win ]; |