summaryrefslogtreecommitdiffstats
path: root/net/socket
diff options
context:
space:
mode:
authorananta <ananta@chromium.org>2016-02-25 12:38:13 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-25 20:39:47 +0000
commita25bf4f5f135fa548f7a2de0580059313c6730b9 (patch)
tree4de16e0ca6cb5c9b6b46df62e67544ec9771fe62 /net/socket
parent22f66bb532f69f24d33e1800ba4b5be1b2ad45e4 (diff)
downloadchromium_src-a25bf4f5f135fa548f7a2de0580059313c6730b9.zip
chromium_src-a25bf4f5f135fa548f7a2de0580059313c6730b9.tar.gz
chromium_src-a25bf4f5f135fa548f7a2de0580059313c6730b9.tar.bz2
Use the MonitorFromPoint API for the cursor position to cover cases where the MonitorFromWindow API fails.
In some cases the MonitorFromWindow API for the taskbar fails to return the correct monitor. Examples include the autohide taskbar on the left of the secondary monitor or the right of the primary monitor. This causes maximized Chrome windows to draw over these taskbars. Fix is to use the MonitorFromPoint API for the cursor position which seems to work for these cases. BUG=472139 Review URL: https://codereview.chromium.org/1735743002 Cr-Commit-Position: refs/heads/master@{#377661}
Diffstat (limited to 'net/socket')
0 files changed, 0 insertions, 0 deletions