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:
authorJens Verwiebe <info@jensverwiebe.de>2014-04-21 21:43:10 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-04-21 21:43:10 +0400
commit88a22632a38b5acab001d27c834a2557f8db638b (patch)
treeff5fbb199b4de07334081453c8aaa7f1eaaa17aa /source/blender/windowmanager/intern/wm_window.c
parent9ab259f55b67c6e3b8028d95b23e708c3bc0c6fd (diff)
OSX: always create a window in normal state, not fullscreen or iconized …
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-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);