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:
parent
88f7524118
commit
d88999312a
@ -75,5 +75,15 @@ void
|
|||||||
ArdourWindow::init ()
|
ArdourWindow::init ()
|
||||||
{
|
{
|
||||||
set_border_width (10);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user