This isn't needed now that the workspaces view is persistent (before, it
was necessary to make sure activation requests are flushed before
closing).
This is easier to spoof, for testing.
More efficient than shm screencopy, and rendering an iced image into the
window. Done right, should espeically help with multiple GPUs, but more
testing and work is needed there.
Removes mmapping of dmabuf, which errored... I guess not allocated with
right options for that. Relevant only if we want a fallback/test that
involves reading dmabufs.
Using `OnDamage` doesn't seem to work correctly currently. Likely a
compositor issue.
Allows cleaning up some of the relationship between `screencopy.rs` and
`capture.rs`, and groups variables that go together and are set to `Some`/`None`
together.
Should help for adding double buffering.
With a shared wayland connection between the code here and iced, if we
don't bind outputs outselves, we can have `WlOutput`s that match.
This simplifies things.