diff options
author | ananta <ananta@chromium.org> | 2016-02-25 12:38:13 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-25 20:39:47 +0000 |
commit | a25bf4f5f135fa548f7a2de0580059313c6730b9 (patch) | |
tree | 4de16e0ca6cb5c9b6b46df62e67544ec9771fe62 /net/socket/ssl_client_socket_openssl.cc | |
parent | 22f66bb532f69f24d33e1800ba4b5be1b2ad45e4 (diff) | |
download | chromium_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/ssl_client_socket_openssl.cc')
0 files changed, 0 insertions, 0 deletions