Bug 262954 - [GTK] Mark the view as not visible when left the last monitor
Summary: [GTK] Mark the view as not visible when left the last monitor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2023-10-10 05:31 PDT by Carlos Garcia Campos
Modified: 2023-10-10 06:41 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2023-10-10 05:31:24 PDT
In GTK4 under wayland we receive the leave-monitor signal when the window is minimized, or hidden in other ways like moving to a different workspace. In those cases, we can mark the view as not visible to avoid doing rendering updates.
Comment 1 Carlos Garcia Campos 2023-10-10 05:33:36 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18892
Comment 2 EWS 2023-10-10 06:41:13 PDT
Committed 269137@main (1a71158338c4): <https://commits.webkit.org/269137@main>

Reviewed commits have been landed. Closing PR #18892 and removing active labels.