Allow introspection of WindowBuilder attributes

Makes WindowAttributes public and adds window_attributes() getter to
WindowBuilder.

In version 0.27, the WindowAttributes struct was made private, but this
removed the ability to introspect the default WindowBuilder values.
This commit is contained in:
Shane Pearman
2023-01-27 07:38:56 +02:00
committed by GitHub
parent b457329003
commit 422c6b1987
8 changed files with 18 additions and 10 deletions

View File

@@ -63,6 +63,7 @@ And please only add new entries to the top of this list, right below the `# Unre
- On macOS, fix the mouse buttons other than left/right/middle being reported as middle.
- On Wayland, support fractional scaling via the wp-fractional-scale protocol.
- On web, fix removal of mouse event listeners from the global object upon window distruction.
- Add WindowAttributes getter to WindowBuilder to allow introspection of default values.
# 0.27.5