Fix on click not working

Authored by davidre on Jul 11 2019, 8:24 AM.

Description

Fix on click not working

Summary:
When on click is enabled the timeout is always set to -1.
This breaks the logic inside captureScreenshot to display the progressbar in the
taskmanager.

BUG: 409218

Test Plan: Check on click or use spectacle in a wayland session

Reviewers: Spectacle, nicolasfella, ngraham

Reviewed By: Spectacle, ngraham

Subscribers: ngraham, anthonyfieroni

Tags: Spectacle

Differential Revision: https://phabricator.kde.org/D22148

Details

Committed
davidreJul 11 2019, 8:26 AM
Reviewer
Spectacle
Differential Revision
D22148: Fix on click not working
Parents
R166:25b619713e35: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown