Change the screenshot button to cancel during the timeout
During the timeout period Spectacle now displays an animation in the taskmanager.
If the windows is unminized and the button clicked again (possibly multiple
times) the window will hide and show and hide again (depending on how often you
clicked) while all the button presses are processed.
To avoid this situation change the button to cancel the currently running
process. It then can also be triggered by the appropiate shortcut.
- Unminimize and click the button
- Let the screenshot finish, the button is in it's original state
- cancel a region selection
Reviewers: Spectacle, broulik, ngraham
Reviewed By: Spectacle, ngraham
Differential Revision: https://phabricator.kde.org/D22234