diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-08-03 23:43:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-08-03 23:45:14 +0300 |
commit | 9d4ea8427770e8ca68149fc7f7760fe2273e5ce3 (patch) | |
tree | e62c0c84e286eb402697f4fb72073ab7f516b610 /source | |
parent | 980fbb35e23d56d444604f4951f4de6a3c2c4e88 (diff) |
Fix T48164: messed up interface switching between retina and non-retina display on OS X.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 42f6585f152..b68b607f48b 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -1198,6 +1198,10 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr U.pixelsize = wm_window_pixelsize(win); BKE_blender_userdef_refresh(); + + wm_window_make_drawable(wm, win); + wm_draw_window_clear(win); + WM_event_add_notifier(C, NC_SCREEN | NA_EDITED, NULL); WM_event_add_notifier(C, NC_WINDOW | NA_EDITED, NULL); |