diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_apple.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_apple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_apple.c b/source/blender/windowmanager/intern/wm_apple.c index 71d074e340f..a7bd43986dd 100644 --- a/source/blender/windowmanager/intern/wm_apple.c +++ b/source/blender/windowmanager/intern/wm_apple.c @@ -124,14 +124,14 @@ void wm_set_apple_prefsize(int scr_x, int scr_y) short top, left, bottom, right; getMacAvailableBounds(&top, &left, &bottom, &right); - WM_setprefsize(left + 10, scr_y - bottom + 10, right - left - 20, bottom - 64); + WM_init_state_size_set(left + 10, scr_y - bottom + 10, right - left - 20, bottom - 64); G.windowstate = 0; } else { /* 40 + 684 + (headers) 22 + 22 = 768, the powerbook screen height */ - WM_setprefsize(120, 40, 850, 684); + WM_init_state_size_set(120, 40, 850, 684); G.windowstate = 0; } } |