forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
X11: X11Window must use bounds in px from display when fullscreen.
When X11Window goes to fullscreen, it takes bounds of the display and provides XServer with updated size and origin of itself. XServer expects the bounds to be in pixels, but X11Window got the bounds in dip. This CL fixes the issue by taking display's size in pixels instead. Also, a test was written to verify this functionality. Bug: 1055057 Change-Id: If964856386e700a4a651303fe0e4ca81c769e851 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2124710 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#755375}
- Loading branch information
Showing
2 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters