Bug 253818
| Summary: | [WPE] Expose web view background color as a GObject property | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | WebKit API | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Minor | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: | https://github.com/Igalia/cog/pull/545 | ||
Adrian Perez
Applications may want to know when the background color changes in order
to react accordingly. For example in https://github.com/Igalia/cog/pull/545
we could trigger updating the Wayland surface opaque region, instead of
hoping that the background color would never change from its initial
setting.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
Implementing this would need turning WebKitColor into a GLib boxed
type, to allow the GObject property machinery pass values around
safely.