summaryrefslogtreecommitdiff
blob: 89a924adc5b2e9a99d4439eefab04e10360011a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 6b79b0085b6c8630ea21b27be6f35ccec99784e2 Mon Sep 17 00:00:00 2001
From: Frédéric Péters <fpeters@0d.be>
Date: Fri, 17 Feb 2012 15:05:03 +0000
Subject: Do not show the titlebar when the window is maximized

https://bugzilla.gnome.org/show_bug.cgi?id=670291
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 2a77c53..32ea1fb 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1836,6 +1836,9 @@ terminal_window_init (TerminalWindow *window)
 #endif
 
   gtk_window_set_title (GTK_WINDOW (window), _("Terminal"));
+#if GTK_CHECK_VERSION (3, 3, 6)
+  gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (window), TRUE);
+#endif
 
   priv->active_screen = NULL;
 
--
cgit v0.9.0.2