show title bar for big clock window
authorRobin Gareus <robin@gareus.org>
Mon, 12 Jan 2015 21:34:08 +0000 (22:34 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 12 Jan 2015 21:55:09 +0000 (22:55 +0100)
fixes #6116
(on OSX and [most] Linux WMs the title-bar was implicitly present)

gtk2_ardour/big_clock_window.cc

index 0f688702dd83496b6f8d6f0b1bf167877b54b5d0..c64393546c0f15c43c49023aa0c3f38b288f748d 100644 (file)
@@ -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;