diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-31 13:53:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-31 13:53:34 +0400 |
commit | 4d2efa877e305fc29121030120b7c53ae57950c4 (patch) | |
tree | fdd1285966ccbf7384b82512c5deb2498fa0ee90 /source/blender/windowmanager/intern/wm_window.c | |
parent | baf29d883e4a22169890b1883e81090ec4c01277 (diff) |
start window non-maximized since this is more the `default` state for windows. (linux/win only)
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 10 |
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; } |