Unify Aura and Ozone X11 Cursor name selection
The main change in this CL is using the same cursor fallback selection machinery for both Aura/X11 and Ozone/X11. In addition to that: Cursor loading now uses cursor names, instead of a mix of cursor names and shapes (as introduced in [0]), given that all shapes can be loaded by Xcursor using their corresponding name. The CSS name is preferred over other options, relying on cursor themes usually linking known cursor names to cursors defined in the theme, or alternatively, picking alternative cursors as defined in a fallback table. It fixes the w-resize fallback changing it to left_side and replaces v-scroll and h-scroll (introduced in [1]) with all-scroll, as they are only available on Windows. [0]: https://crrev.com/c/1998353 [1]: https://crrev.com/c/1638924 Bug: 1029142 Change-Id: If50698d5305135be43cda4eeb48532d23816754f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2245704 Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com> Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#780495}
Showing
Please register or sign in to comment