summaryrefslogtreecommitdiff
path: root/gtk2_ardour/big_clock_window.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-01-12 22:34:08 +0100
committerRobin Gareus <robin@gareus.org>2015-01-12 22:55:09 +0100
commit45aa1e50b7b695ccd2cdd659d964e1f10d86cfc8 (patch)
tree0437bb4de9e40f4db4d94224116f8a7b0a47a3b9 /gtk2_ardour/big_clock_window.cc
parentbb75553e9b449a2e38f51e5f33ddcd886b4b234e (diff)
show title bar for big clock window
fixes #6116 (on OSX and [most] Linux WMs the title-bar was implicitly present)
Diffstat (limited to 'gtk2_ardour/big_clock_window.cc')
-rw-r--r--gtk2_ardour/big_clock_window.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk2_ardour/big_clock_window.cc b/gtk2_ardour/big_clock_window.cc
index 0f688702dd..c64393546c 100644
--- a/gtk2_ardour/big_clock_window.cc
+++ b/gtk2_ardour/big_clock_window.cc
@@ -69,13 +69,10 @@ void
BigClockWindow::on_realize ()
{
ArdourWindow::on_realize ();
- /* (try to) ensure that resizing is possible.
- */
- get_window()->set_decorations (Gdk::DECOR_BORDER|Gdk::DECOR_RESIZEH);
-
- /* try to force a fixed aspect ratio so that we don't distort the font
- */
+ /* (try to) ensure that resizing is possible and the window can be moved (and closed) */
+ get_window()->set_decorations (Gdk::DECOR_BORDER | Gdk::DECOR_RESIZEH | Gdk::DECOR_TITLE | Gdk::DECOR_MENU);
+ /* try to force a fixed aspect ratio so that we don't distort the font */
float aspect = default_size.width/(float)default_size.height;
Gdk::Geometry geom;