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:
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 1bd9f15ba66..b589009d724 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -375,7 +375,8 @@ static void wm_window_add_ghostwindow(const char *title, wmWindow *win)
#ifdef __APPLE__
/* set the state here, else OSX would not recognize changed screen resolution */
- GHOST_SetWindowState(ghostwin, (GHOST_TWindowState)win->windowstate);
+ /* we agreed to not set any fullscreen or iconized state on startup */
+ GHOST_SetWindowState(ghostwin, GHOST_kWindowStateNormal);
#endif
/* store actual window size in blender window */
bounds = GHOST_GetClientBounds(win->ghostwin);