Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-04-17 22:15:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-04-17 22:15:31 +0400
commit9c8bc4badc9163af4b67b9a1048d29a165dc92d3 (patch)
treea16afbe85f14a300de61a0c94d4d5804374fdbbb /source/blender/src/editscreen.c
parentb95f4ba2ad870568da484eb77138501078a6b76c (diff)
Starting blender with -w does not switch of maximize anymore, so with and without the -w arg, the window should start maximized.
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index 0d0a301ad24..3a88e568546 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -1564,7 +1564,7 @@ void mainwindow_set_filename_to_title(char *filename)
/* ********* AREAS ************* */
-void setprefsize(int stax, int stay, int sizx, int sizy)
+void setprefsize(int stax, int stay, int sizx, int sizy, int maximized)
{
int scrwidth, scrheight;
@@ -1588,7 +1588,7 @@ void setprefsize(int stax, int stay, int sizx, int sizy)
prefsizx= sizx;
prefsizy= sizy;
- start_maximized= 0;
+ start_maximized= maximized;
}