summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Sayers <[email protected]>2025-04-25 13:32:23 +0100
committerVictor Kareh <[email protected]>2026-03-17 14:14:14 -0400
commit8ed5f943ead2d3d98f159f58a17b492e6108fb92 (patch)
treec7d38c9148f09636542675126e0129b9e3def041
parent8825dbb21fe29f13878876c0beb039b503d6d47c (diff)
downloadmate-screensaver-master.tar.bz2
mate-screensaver-master.tar.xz
Fix warning due to source being removed twiceHEADmaster
-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;
}