summaryrefslogtreecommitdiff
path: root/src/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index ca18c63..1a851aa 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -727,6 +727,9 @@ create_main_window (ProcData *procdata)
gtk_window_set_default_size (GTK_WINDOW (app), width, height);
gtk_window_move(GTK_WINDOW (app), xpos, ypos);
gtk_window_set_resizable (GTK_WINDOW (app), TRUE);
+ if (procdata->config.maximized) {
+ gtk_window_maximize(GTK_WINDOW(app));
+ }
/* create the menubar */
procdata->uimanager = gtk_ui_manager_new ();