Bug 253818 - [WPE] Expose web view background color as a GObject property
Summary: [WPE] Expose web view background color as a GObject property
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-13 05:49 PDT by Adrian Perez
Modified: 2023-03-13 05:51 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 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.
Comment 1 Adrian Perez 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.