DescriptionUse 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
Committed: https://crrev.com/a25bf4f5f135fa548f7a2de0580059313c6730b9
Cr-Commit-Position: refs/heads/master@{#377661}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 8 (3 generated)
|