diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-30 17:16:11 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-30 17:16:11 +0000 |
commit | bd5ac9d9d2072b96edf5d766fb77c3fbd03d5bb6 (patch) | |
tree | a2f8a5d7ba3b48a1fe463755748be06839538dc6 /gears/SConscript.libgd | |
parent | 938ddcaf07183384815094f391e3898f4a237686 (diff) | |
download | chromium_src-bd5ac9d9d2072b96edf5d766fb77c3fbd03d5bb6.zip chromium_src-bd5ac9d9d2072b96edf5d766fb77c3fbd03d5bb6.tar.gz chromium_src-bd5ac9d9d2072b96edf5d766fb77c3fbd03d5bb6.tar.bz2 |
Fix a bug with detecting window sizes that match the monitor size.
The previous code was comparing the window size to the screen
size, but that doesn't work properly for twinview or other cases
where there are multiple monitors that make up a single screen.
Instead, compare the window size against all monitors (since we
don't know which monitor the window is going to be placed on)
and resize if it matches any monitor size.
Also fix a bug in BoundsMatchMonitorSize where we should just be
comparing sizes, not rectangle positions.
BUG=32347
Review URL: http://codereview.chromium.org/3060032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gears/SConscript.libgd')
0 files changed, 0 insertions, 0 deletions