
This updates DesktopResizerX11 to locate the RANDR Output for the specified monitor (screen_id). This also changes the mode's name to be specific to each Output. After this CL, the implementation will create a new mode per output, called "CRD_nn" where nn is the Output's numeric ID. The implementation is expected to only resize "automatic" monitors that are synthesized within the X server for their attached (single) Output. Checks are added for these conditions, and logs are written if they are not met. Bug: 1326339 Change-Id: I51125bdb9acde0dd48fac76c14c72df1fac595bd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3810357 Auto-Submit: Lambros Lambrou <lambroslambrou@chromium.org> Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Lambros Lambrou <lambroslambrou@chromium.org> Cr-Commit-Position: refs/heads/main@{#1032775}