Skip to content

Commit

Permalink
v24.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrquantumoff committed Jul 7, 2024
1 parent e0cf771 commit e37aa98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linux/my_application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static void my_application_activate(GApplication *application)
// in case the window manager does more exotic layout, e.g. tiling.
// If running on Wayland assume the header bar will work (may need changing
// if future cases occur).
gboolean use_header_bar = FALSE;
gboolean use_header_bar = TRUE;
#ifdef GDK_WINDOWING_X11
GdkScreen *screen = gtk_window_get_screen(window);
if (GDK_IS_X11_SCREEN(screen))
Expand All @@ -46,7 +46,7 @@ static void my_application_activate(GApplication *application)
GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
gtk_widget_show(GTK_WIDGET(header_bar));
gtk_header_bar_set_title(header_bar, "Quadrant");
gtk_header_bar_set_show_close_button(header_bar, TRUE);
gtk_header_bar_set_show_close_button(header_bar, FALSE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
}
else
Expand Down

0 comments on commit e37aa98

Please sign in to comment.