diff options
Diffstat (limited to 'views/window/window_win.cc')
-rw-r--r-- | views/window/window_win.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc index be8db6d..e1817e4 100644 --- a/views/window/window_win.cc +++ b/views/window/window_win.cc @@ -684,7 +684,8 @@ LRESULT WindowWin::OnNCHitTest(const CPoint& point) { void WindowWin::OnNCPaint(HRGN rgn) { // When using a custom frame, we want to avoid calling DefWindowProc() since // that may render artifacts. - SetMsgHandled(is_in_size_move_ && !delegate_->IsUsingNativeFrame()); + SetMsgHandled((!IsActive() || is_in_size_move_) && + !delegate_->IsUsingNativeFrame()); } LRESULT WindowWin::OnNCUAHDrawCaption(UINT msg, WPARAM w_param, |