Comes with slight refactoring for better code sharing.
Details
Details
- Reviewers
bgupta - Group Reviewers
Plasma on Wayland - Commits
- R166:517a7baf46a4: Support screenshot current screen and fullscreen on KWin/Wayland
Diff Detail
Diff Detail
- Repository
- R166 Spectacle
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Looks lovely. I just have one nitpick, which is in an inline comment below.
src/PlatformBackends/KWinWaylandImageGrabber.h | ||
---|---|---|
48 | Can we re-use the ImageGrabber::CaptureMode enum here? |
src/PlatformBackends/KWinWaylandImageGrabber.h | ||
---|---|---|
48 | I would say no as the CaptureMode contains several choices which don't fit here. E.g. we cannot capture the ActiveWindow or a RectangularRegion through the DBus interface. |
Comment Actions
Good point. This is going to need more insidious changes in Spectacle. Alright, ship this for now.