Skip to content

Commit

Permalink
show title bar for big clock window
Browse files Browse the repository at this point in the history
fixes #6116
(on OSX and [most] Linux WMs the title-bar was implicitly present)
  • Loading branch information
x42 committed Jan 12, 2015
1 parent bb75553 commit 45aa1e5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions gtk2_ardour/big_clock_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 45aa1e5

Please sign in to comment.