svn merge ^/trunk/blender -r50173:50179
[blender.git] / source / blender / windowmanager / intern / wm_window.c
index ad1b80ed6510a64c65c0063447937a4b3ba431a1..363d04b8433c81b90bb92f201d5892a5a2074499 100644 (file)
@@ -341,12 +341,6 @@ static void wm_window_add_ghostwindow(const char *title, wmWindow *win)
        wm_get_screensize(&scr_w, &scr_h);
        posy = (scr_h - win->posy - win->sizey);
        
        wm_get_screensize(&scr_w, &scr_h);
        posy = (scr_h - win->posy - win->sizey);
        
-#if defined(__APPLE__) && !defined(GHOST_COCOA)
-       {
-               extern int macPrefState; /* creator.c */
-               initial_state += macPrefState;
-       }
-#endif
        /* Disable AA for now, as GL_SELECT (used for border, lasso, ... select)
         * doesn't work well when AA is initialized, even if not used. */
        ghostwin = GHOST_CreateWindow(g_system, title,
        /* Disable AA for now, as GL_SELECT (used for border, lasso, ... select)
         * doesn't work well when AA is initialized, even if not used. */
        ghostwin = GHOST_CreateWindow(g_system, title,