From a2402e571b2d5f92f57c93c4d1725e4bdb760cda Mon Sep 17 00:00:00 2001 From: sebastid Date: Wed, 7 Jun 2006 09:02:04 +0000 Subject: [PATCH] Listen to MOVE_SELF events SVN revision: 23233 --- legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c index 7446fca15c..e2805419f9 100644 --- a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c +++ b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c @@ -109,7 +109,8 @@ ecore_file_monitor_inotify_add(const char *path, mask = IN_MODIFY| IN_MOVED_FROM|IN_MOVED_TO| IN_DELETE|IN_CREATE| - IN_DELETE_SELF|IN_UNMOUNT; + IN_DELETE_SELF|IN_MOVE_SELF| + IN_UNMOUNT; ECORE_FILE_MONITOR_INOTIFY(em)->wd = inotify_add_watch(ecore_main_fd_handler_fd_get(_fdh), em->path, mask);