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>2013-01-31 13:53:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-31 13:53:34 +0400
commit4d2efa877e305fc29121030120b7c53ae57950c4 (patch)
treefdd1285966ccbf7384b82512c5deb2498fa0ee90 /source/blender/windowmanager
parentbaf29d883e4a22169890b1883e81090ec4c01277 (diff)
start window non-maximized since this is more the `default` state for windows. (linux/win only)
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index bd6342ebc25..83eadf6e833 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -448,14 +448,8 @@ void wm_window_add_ghostwindows(wmWindowManager *wm)
win->sizex = wm_init_state.size_x;
win->sizey = wm_init_state.size_y;
- if (wm_init_state.override_flag & WIN_OVERRIDE_GEOM) {
- /* we can't properly resize a maximized window */
- win->windowstate = GHOST_kWindowStateNormal;
- }
- else {
- /* otherwise default factory settings start maximized */
- win->windowstate = GHOST_kWindowStateMaximized;
- }
+ /* we can't properly resize a maximized window */
+ win->windowstate = GHOST_kWindowStateNormal;
wm_init_state.override_flag &= ~WIN_OVERRIDE_GEOM;
}