Commit e778c9cf authored by sky@chromium.org's avatar sky@chromium.org

Fixes bug where SetBounds would change the z-order. This was resulting

in windows that triggered status bubble (such as gmail) to always come
to front.

BUG=none
TEST=see bug

Review URL: http://codereview.chromium.org/113962

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17140 0039d316-1c4b-4281-b951-d872f2087c98
parent b860a045
...@@ -255,7 +255,7 @@ void WidgetWin::GetBounds(gfx::Rect* out, bool including_frame) const { ...@@ -255,7 +255,7 @@ void WidgetWin::GetBounds(gfx::Rect* out, bool including_frame) const {
void WidgetWin::SetBounds(const gfx::Rect& bounds) { void WidgetWin::SetBounds(const gfx::Rect& bounds) {
SetWindowPos(NULL, bounds.x(), bounds.y(), bounds.width(), bounds.height(), SetWindowPos(NULL, bounds.x(), bounds.y(), bounds.width(), bounds.height(),
SWP_NOACTIVATE); SWP_NOACTIVATE | SWP_NOZORDER);
} }
void WidgetWin::Close() { void WidgetWin::Close() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment