[Xfce4-commits] [apps/xfce4-terminal] 01/01: Allow to use --maximize with drop-down windows
noreply at xfce.org
noreply at xfce.org
Sun Jul 7 23:30:42 CEST 2019
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit d893963d3e86de63ad771c322549b21d95890cf1
Author: Igor <f2404 at yandex.ru>
Date: Sun Jul 7 17:30:28 2019 -0400
Allow to use --maximize with drop-down windows
---
terminal/terminal-app.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/terminal/terminal-app.c b/terminal/terminal-app.c
index 4b42859..08097b9 100644
--- a/terminal/terminal-app.c
+++ b/terminal/terminal-app.c
@@ -804,6 +804,10 @@ terminal_app_open_window (TerminalApp *app,
attr->menubar,
attr->toolbar);
+ /* drop-down window can be maximized */
+ if (attr->maximize)
+ gtk_window_maximize (GTK_WINDOW (window));
+
/* put it on the correct screen/display */
screen = terminal_app_find_screen (attr_display, attr_screen_num);
gtk_window_set_screen (GTK_WINDOW (window), screen);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list