Straight conversion of screenshot code from mutter to wayland #669
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.
Description
The budgie-wm elements have been moved to the power dialog - i.e. keeping the separate of daemon windows vs screencapture which cannot work in the same process.
Note - introduces grim for the screencapture part
ActiveWindow screencapture is now not possible without a compositor that exposes where on that screen the window is located. i.e. labwc doesn't, whereas sway and hyprland does. So added a method to support those compositors (that we recognise) that have that support. Code will need to be added to find the window location for those compositors.
Multi-monitor support is not there at the moment. Might have to drop the existing "SelectLayer" code which displays the area to capture and replace with slurp
Marking as draft for the moment
Submitter Checklist
git rebase -i
(if needed)