diff options
author | David Robillard <d@drobilla.net> | 2012-11-18 04:23:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-11-18 04:23:45 +0000 |
commit | 95bd893d5e1f5fa574799e13905d323bc8b5d531 (patch) | |
tree | 5a92aad43f6bc4192aa858c2adfa254ea93bc005 /gtk2_ardour/plugin_ui.cc | |
parent | 016b2dcd2cf161f77de3a926cc25572563d9107d (diff) |
Disable vulgar keep-above for plugin UIs.
I vaguely recall it being mentioned that this was a kludge for OSX. Maybe not and somebody will complain. Oh well, this behaviour is incredibly obnoxious in some environments, and makes plugins that open dialogs (e.g. open file dialogs) completely unusable, and just generally wrong and evil. I have to try.
git-svn-id: svn://localhost/ardour2/branches/3.0@13521 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 2acdf7d967..ef1e8ad30d 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -180,7 +180,9 @@ void PluginUIWindow::on_map () { Window::on_map (); +#ifdef __APPLE__ set_keep_above (true); +#endif __APPLE__ } bool |