Closed Bug 1737065 Opened 3 years ago Closed 3 years ago

[Linux] Add support for compositor start/stop to GtkCompositorWidget

Categories

(Core :: Widget: Gtk, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

Details

Attachments

(2 files)

This is a follow up from Bug 1730533. We need to support enable/disable rendering to GtkCompositorWidget.

Summary: [Linux] Add support for compositor start/stop → [Linux] Add support for compositor start/stop to GtkCompositorWidget

When GdkWindow is unmapped (during reparent, when GtkWindow is hidden) we need to clear Window handle at GtkCompositorWidget as it's no longer valid.
A new GdkWindow/Window is created when we're mapped again.

Assignee: nobody → stransky
Status: NEW → ASSIGNED

Make sure we don't crash when WindowSurfaceProvider does not have valid X Window handle (when we're hidden for instance).

Depends on D129167

Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/fdc26e62178b
[Linux] Implement EnableRendering() / DisableRendering() for GtkCompositorWidget r=rmader
https://hg.mozilla.org/integration/autoland/rev/ccdba331a027
[Linux] Make WindowSurfaceProvider to work without valid X Window handle or widget reference, r=rmader
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: