client-toolkit/toplevel-info: Work with only ext foreign toplevel #49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supporting both cosmic toplevel info version 1 and foreign toplevel list (with cosmic toplevel info) seems awkward. So this initially make the cosmic-protocol mandatory and the ext protocol optional (without breaking the API). But now that Cosmic has supported this for a while, lets drop client-side support for the old version, and add support for other compositors implementing
ext-foreign-toplevel-list-v1
.I still need to update users of the library for this. Probably after #46. Looks like
ext_foreign_toplevel_image_capture_source_manager_v1
isn't currently implemented by Sway? So this doesn't yet capture windows on Sway.