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:
authorD.J. Capelis <blender@capelis.dj>2007-04-12 10:21:31 +0400
committerD.J. Capelis <blender@capelis.dj>2007-04-12 10:21:31 +0400
commit7470e7efa0514e7b9204a1afdc9082ff202289e1 (patch)
tree7dc851e643c75216396ed61b80d4c88c5771a6be /source/blender/src/editscreen.c
parent1e5bdbcb2f872d4a55dc6bab7908489001f2ad88 (diff)
Applying consistent default window behavior across platforms.
Now all windows open in a border as opposed to fullscreen. blender -W restores old functionality, blender -w is now default. This lets each platform's window manager deal with it's own issues. As per issue 6391 in the patch tracker.
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index 008a2457967..0d0a301ad24 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -2191,15 +2191,10 @@ static bScreen *addscreen(char *name) /* use setprefsize() if you want somethin
sc->scene= G.scene;
if (!mainwin) {
-#if 0
-//#ifdef _WIN32 // FULLSCREEN
if (G.windowstate == G_WINDOWSTATE_FULLSCREEN)
mainwin= window_open("Blender", sc->startx, sc->starty, sc->sizex, sc->sizey, G_WINDOWSTATE_FULLSCREEN);
else
mainwin= window_open("Blender", sc->startx, sc->starty, sc->sizex, sc->sizey, start_maximized);
-#else
- mainwin= window_open("Blender", sc->startx, sc->starty, sc->sizex, sc->sizey, start_maximized);
-#endif
if (!mainwin) {
printf("ERROR: Unable to open Blender window\n");