[Pkg-wmaker-commits] [wmforecast] 05/14: Reset timer countdown upon refresh.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Apr 3 19:39:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmforecast.
commit 2d1dfe16858c44bbc21fedcba9208ce8aa50bf52
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Fri Apr 1 15:22:15 2016 -0400
Reset timer countdown upon refresh.
---
wmforecast.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/wmforecast.c b/wmforecast.c
index a1a00ff..927e2f6 100755
--- a/wmforecast.c
+++ b/wmforecast.c
@@ -923,8 +923,10 @@ static void editPreferences(void *data)
static void refresh(XEvent *event, void *data)
{
Dockapp *d = (Dockapp *)data;
- if (WMIsDoubleClick(event) && event->xbutton.button == Button1)
+ if (WMIsDoubleClick(event) && event->xbutton.button == Button1) {
+ d->minutesLeft = d->prefs->interval;
updateDockapp(d);
+ }
if (event->xbutton.button == Button3 && !d->prefsWindowPresent)
editPreferences(d);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmforecast.git
More information about the Pkg-wmaker-commits
mailing list