Skip to content

Commit

Permalink
Merge pull request #6596 from liusy182/restore-issue
Browse files Browse the repository at this point in the history
Window position doesn't restore correctly minimize and restore window
  • Loading branch information
zcbenz committed Jul 26, 2016
2 parents c70ec47 + 8129c27 commit 7b6d74f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion atom/browser/native_window_views_win.cc
Expand Up @@ -121,7 +121,10 @@ bool NativeWindowViews::PreHandleMSG(
::GetWindowRect(GetAcceleratedWidget(), (LPRECT)l_param);
return false;
}

case WM_MOVE: {
last_normal_bounds_ = GetBounds();
return false;
}
default:
return false;
}
Expand Down

0 comments on commit 7b6d74f

Please sign in to comment.