13
0

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

This commit is contained in:
Paul Davis 2013-05-02 10:10:05 -04:00
parent 88f7524118
commit d88999312a

View File

@ -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);
}