Skip to content

Commit 6d5b9ef

Browse files
desktop: recache now triggers for deletes and moves
1 parent 75bd0c0 commit 6d5b9ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/finders/desktop/DesktopFinder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ void CDesktopFinder::replantWatch() {
177177
}
178178

179179
for (const auto& p : m_desktopEntryPaths) {
180-
m_watches.emplace_back(inotify_add_watch(m_inotifyFd.get(), p.c_str(), IN_MODIFY | IN_DONT_FOLLOW));
180+
m_watches.emplace_back(inotify_add_watch(m_inotifyFd.get(), p.c_str(), IN_MODIFY | IN_DONT_FOLLOW | IN_CREATE | IN_DELETE | IN_MOVE));
181181
}
182182
}
183183

0 commit comments

Comments
 (0)