summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-10 20:09:31 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-10 20:09:31 +0000
commit10b5d641e5b1149e5383aafdecd6447adce56031 (patch)
tree706839a3e23e3b38983a5515064aeb095350dcda /chrome/browser/gtk
parent05b3dbd5f66fcd2ed323c910563ad7cc43655980 (diff)
downloadchromium_src-10b5d641e5b1149e5383aafdecd6447adce56031.zip
chromium_src-10b5d641e5b1149e5383aafdecd6447adce56031.tar.gz
chromium_src-10b5d641e5b1149e5383aafdecd6447adce56031.tar.bz2
Have the restored size returned when the browser asks for it. This
fixes a bug where new windows would open to the full desktop size and the WM would treat it specially. TEST=Maximize chrome, open a new window. It shouldn't be the size of a maximized window. BUG=18952 Review URL: http://codereview.chromium.org/165248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22946 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r--chrome/browser/gtk/browser_window_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc
index 23ceb54..2687d41 100644
--- a/chrome/browser/gtk/browser_window_gtk.cc
+++ b/chrome/browser/gtk/browser_window_gtk.cc
@@ -779,7 +779,7 @@ void BrowserWindowGtk::SetStarredState(bool is_starred) {
}
gfx::Rect BrowserWindowGtk::GetRestoredBounds() const {
- return bounds_;
+ return restored_bounds_;
}
bool BrowserWindowGtk::IsMaximized() const {