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/creator/creator.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/creator/creator.c')
-rw-r--r--source/creator/creator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index ec4e4f65813..a03cacc9beb 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -268,13 +268,13 @@ int main(int argc, char **argv)
winlay_get_screensize(&scr_x, &scr_y);
getMacAvailableBounds(&top, &left, &bottom, &right);
- setprefsize(left +10,scr_y - bottom +10,right-left -20,bottom - 64);
+ setprefsize(left +10,scr_y - bottom +10,right-left -20,bottom - 64, 0);
} else {
winlay_get_screensize(&scr_x, &scr_y);
/* 40 + 684 + (headers) 22 + 22 = 768, the powerbook screen height */
- setprefsize(120, 40, 850, 684);
+ setprefsize(120, 40, 850, 684, 0);
}
winlay_process_events(0);
@@ -412,7 +412,7 @@ int main(int argc, char **argv)
a++;
sizy= atoi(argv[a]);
- setprefsize(stax, stay, sizx, sizy);
+ setprefsize(stax, stay, sizx, sizy, 0);
break;
case 'd':
G.f |= G_DEBUG; /* std output printf's */
@@ -434,7 +434,7 @@ int main(int argc, char **argv)
* called with "-p 0 0 xres yres" -- sgefant
*/
winlay_get_screensize(&sizx, &sizy);
- setprefsize(0, 0, sizx, sizy);
+ setprefsize(0, 0, sizx, sizy, 1);
G.windowstate = G_WINDOWSTATE_BORDER;
break;
case 'W':