Fix T54274, and rename option --window-borderless to --window-fullscreen
[blender-staging.git] / source / blender / windowmanager / intern / wm_window.c
index bf3d28e..ceb5117 100644 (file)
@@ -448,12 +448,7 @@ static void wm_window_ghostwindow_add(wmWindowManager *wm, const char *title, wm
        
        ghostwin = GHOST_CreateWindow(g_system, title,
                                      win->posx, posy, win->sizex, win->sizey,
-#ifdef __APPLE__
-                                     /* we agreed to not set any fullscreen or iconized state on startup */
-                                     GHOST_kWindowStateNormal,
-#else
                                      (GHOST_TWindowState)win->windowstate,
-#endif
                                      GHOST_kDrawingContextTypeOpenGL,
                                      glSettings);