diff --git a/src/kits/storage/PathMonitor.cpp b/src/kits/storage/PathMonitor.cpp index 9f9cdb2875..ac5ecc249b 100644 --- a/src/kits/storage/PathMonitor.cpp +++ b/src/kits/storage/PathMonitor.cpp @@ -644,6 +644,10 @@ PathHandler::_NotifyTarget(BMessage* message, const node_ref& nodeRef) const } } + // This is in case the target is interested in figuring out which + // BPathMonitor::StartWatching() call the message is resulting from. + update.AddString("watched_path", fPath.Path()); + fTarget.SendMessage(&update); }