summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/views/custom_frame_window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc
index 9a1a079..d058543 100644
--- a/chrome/views/custom_frame_window.cc
+++ b/chrome/views/custom_frame_window.cc
@@ -916,7 +916,7 @@ LRESULT CustomFrameWindow::OnNCActivate(BOOL active) {
// We can get WM_NCACTIVATE before we're actually visible. If we're not
// visible, no need to paint.
- if (!IsMaximized() && IsWindowVisible(GetHWND())) {
+ if (IsWindowVisible(GetHWND())) {
non_client_view_->SchedulePaint();
// We need to force a paint now, as a user dragging a window will block
// painting operations while the move is in progress.