Closed Drakulix closed 6 months ago
At some point we'll also want to switch this to make use of ext-foreign-toplevel-list-v1
(https://github.com/pop-os/cosmic-comp/pull/76).
Added a commit with cosmic-client-toolkit helpers for this. Which is used in https://github.com/pop-os/xdg-desktop-portal-cosmic/pull/31. The separate object for individual frames does seem a bit cleaner, and this implementation is more complete than the one that was previously here for v1. (But still missing handling for cursor sessions.)
Still needs to be implemented in cosmic-workspaces. And hopefully some of the logic that both xdg-desktop-portal-cosmic and cosmic-workspaces duplicate could be moved into cosmic-client-toolkit.
(Also drops export-dmabuf.)
Draft until implemented everywhere