Bug 253818

Summary: [WPE] Expose web view background color as a GObject property
Product: WebKit Reporter: Adrian Perez <aperez>
Component: WebKit APIAssignee: 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
Reported 2023-03-13 05:49:38 PDT
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
Adrian Perez
Comment 1 2023-03-13 05:51:19 PDT
Implementing this would need turning WebKitColor into a GLib boxed type, to allow the GObject property machinery pass values around safely.
Note You need to log in before you can comment on or make changes to this bug.