From 88a22632a38b5acab001d27c834a2557f8db638b Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Mon, 21 Apr 2014 19:43:10 +0200 Subject: =?UTF-8?q?OSX:=20always=20create=20a=20window=20in=20normal=20sta?= =?UTF-8?q?te,=20not=20fullscreen=20or=20iconized=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/blender/windowmanager/intern/wm_window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender') 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); -- cgit v1.2.3