diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 00:05:14 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 00:05:14 +0000 |
commit | e778c9cf2d6ffd74e4ed3bd88f381752c3c15a4a (patch) | |
tree | 486023afd4b76aaa2a68cb45076bed6deed58616 /views | |
parent | b860a0458a6e2e77cc7943b87d36a17b1c393201 (diff) | |
download | chromium_src-e778c9cf2d6ffd74e4ed3bd88f381752c3c15a4a.zip chromium_src-e778c9cf2d6ffd74e4ed3bd88f381752c3c15a4a.tar.gz chromium_src-e778c9cf2d6ffd74e4ed3bd88f381752c3c15a4a.tar.bz2 |
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
Diffstat (limited to 'views')
-rw-r--r-- | views/widget/widget_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/widget/widget_win.cc b/views/widget/widget_win.cc index 516b771..6522242 100644 --- a/views/widget/widget_win.cc +++ b/views/widget/widget_win.cc @@ -255,7 +255,7 @@ void WidgetWin::GetBounds(gfx::Rect* out, bool including_frame) const { void WidgetWin::SetBounds(const gfx::Rect& bounds) { SetWindowPos(NULL, bounds.x(), bounds.y(), bounds.width(), bounds.height(), - SWP_NOACTIVATE); + SWP_NOACTIVATE | SWP_NOZORDER); } void WidgetWin::Close() { |