From d88999312a97a04548d2fc457d11a3303789c171 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 2 May 2013 10:10:05 -0400 Subject: force ArdourWindows to be TYPE_UTILITY so that they float "with" TYPE_DIALOG windows (at least on OS X - still to be tested on X Window --- gtk2_ardour/ardour_window.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gtk2_ardour/ardour_window.cc') 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); } -- cgit v1.2.3