From 596b490992bc37c43c50324b5e5c95ac408cdcd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Fri, 30 Jun 2017 21:34:11 +0200 Subject: [PATCH] Fix inotify display --- sdn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdn.cpp b/sdn.cpp index 8f2749b..b824440 100644 --- a/sdn.cpp +++ b/sdn.cpp @@ -560,7 +560,7 @@ fun inotify_check () { for (char *ptr = buf; ptr < buf + len; ptr += sizeof *e + e->len) { e = (const inotify_event *) buf; if (e->wd == g.inotify_wd) - changed = true; + changed = g.out_of_date = true; } } if (changed)