show title bar for big clock window

fixes #6116
(on OSX and [most] Linux WMs the title-bar was implicitly present)
This commit is contained in:
Robin Gareus 2015-01-12 22:34:08 +01:00
parent bb75553e9b
commit 45aa1e50b7

View 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;