diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-18 04:59:16 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-18 04:59:16 +0300 |
commit | 969aa8fe6f535e59fd48ae6ae5e1a0535f95b621 (patch) | |
tree | c1910d5d92a8a48f21d8d8cb3d29d6a1f3a7507f /source | |
parent | 1e983a931816b7c601bb6641039de0414640d969 (diff) |
Fix for window not redrawing properly on resize (on osx at least), add a
NC_WINDOW notifier as well as NC_SCREEN, since both have changed.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 94248fb392c..294f9204ab2 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -704,6 +704,7 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr private) wm_window_make_drawable(C, 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); } } break; |