commit | 94e4d323217b16ccdd75b727ff8ce6edef12f01c | [log] [tgz] |
---|---|---|
author | Thomas Lukaszewicz <tluk@chromium.org> | Tue Apr 23 09:18:46 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 23 09:18:46 2024 |
tree | 4499161fbce51ea4323d69950bf20e19e9cf58eb | |
parent | b39b1d05d2515875caac0e6f86160edf0479a2b0 [diff] |
[ozone] Fix WaylandWindow::Initialize bounds Widget / WaylandWindow currently recognize empty init bounds as unspecified by clients, requiring the initialization process to set the correct bounds during initialization. Currently WaylandWindow will set default bounds with a non-empty size if no init bounds is specified. This is required as the Wayland protocol does not permit empty geometry, otherwise throwing an error and disconnecting the client. This CL updates the bounds setting code for this situation to respect the Screen::GetDisplayForNewWindows() configuration. This keeps bounds setting logic aligned with expectations and ensures new windows are reported as belonging to the correct display. Bug: 333312496 Change-Id: Iefbde81286bfcde979f79ad97bf6a331097903a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5457965 Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org> Cr-Commit-Position: refs/heads/main@{#1291168}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.