summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/ardour_window.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_window.cc b/gtk2_ardour/ardour_window.cc
index 616cfbcb66..6217946940 100644
--- a/gtk2_ardour/ardour_window.cc
+++ b/gtk2_ardour/ardour_window.cc
@@ -75,5 +75,15 @@ void
ArdourWindow::init ()
{
set_border_width (10);
+
+ /* ArdourWindows are not dialogs (they have no "OK" or "Close" button) but
+ they should be considered part of the same "window level" as a dialog. This
+ works on X11 and Quartz, in that:
+
+ (a) utility & dialog windows are considered to be part of the same level
+ (b) they will float above normal windows without any particular effort
+ */
+
+ set_type_hint (Gdk::WINDOW_TYPE_HINT_UTILITY);
}