mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00

Analogous to D102835 we need to make GDK aware of opaque surfaces so frame callbacks get emitted for these surfaces as well. Otherwise GDK may get stuck waiting on callbacks when used on compositors that don't emit callbacks for occluded surfaces (which is explicitly encouraged by the Wayland spec). GDK runs on the main thread, so we need to dispatch these action to the main thread as well. Differential Revision: https://phabricator.services.mozilla.com/D116747