summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gs-watcher-x11.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gs-watcher-x11.c b/src/gs-watcher-x11.c
index f3f44e1..a224548 100644
--- a/src/gs-watcher-x11.c
+++ b/src/gs-watcher-x11.c
@@ -344,6 +344,10 @@ on_idle_timeout (GSWatcher *watcher)
_gs_watcher_set_session_idle_notice (watcher, FALSE);
/* try again if we failed i guess */
+ if (res)
+ {
+ watcher->priv->idle_id = 0;
+ }
return !res;
}