projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f7524
)
force ArdourWindows to be TYPE_UTILITY so that they float "with" TYPE_DIALOG windows...
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 2 May 2013 14:10:05 +0000
(10:10 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 2 May 2013 14:10:05 +0000
(10:10 -0400)
gtk2_ardour/ardour_window.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_window.cc
b/gtk2_ardour/ardour_window.cc
index 616cfbcb66d5e4032d0bf822d95307217d1e6e42..6217946940a2be7d9a1927dfc8a40fb238514dd1 100644
(file)
--- 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);
}