mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
keep meterbridge on top
This commit is contained in:
parent
2f8ccb5732
commit
f83dbf83f4
1 changed files with 10 additions and 0 deletions
|
|
@ -99,6 +99,16 @@ Meterbridge::Meterbridge ()
|
||||||
|
|
||||||
set_wmclass (X_("ardour_mixer"), PROGRAM_NAME);
|
set_wmclass (X_("ardour_mixer"), PROGRAM_NAME);
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
set_type_hint (Gdk::WINDOW_TYPE_HINT_DIALOG);
|
||||||
|
#else
|
||||||
|
if (UIConfiguration::instance().get_all_floating_windows_are_dialogs()) {
|
||||||
|
set_type_hint (Gdk::WINDOW_TYPE_HINT_DIALOG);
|
||||||
|
} else {
|
||||||
|
set_type_hint (Gdk::WINDOW_TYPE_HINT_UTILITY);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
Gdk::Geometry geom;
|
Gdk::Geometry geom;
|
||||||
geom.max_width = 1<<16;
|
geom.max_width = 1<<16;
|
||||||
geom.max_height = max_height;
|
geom.max_height = max_height;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue