mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Remove all links of an "apps" dir when it is removed or renamed
This commit is contained in:
@@ -58,6 +58,12 @@ int Monitor::run(void)
|
||||
char buf[256];
|
||||
|
||||
read(fd, &event, len);
|
||||
|
||||
if (event.mask & (IN_DELETE_SELF | IN_MOVE_SELF)) {
|
||||
inject_event(false, path.c_str());
|
||||
break;
|
||||
}
|
||||
|
||||
sprintf(buf, "%s/%s", path.c_str(), event.name);
|
||||
|
||||
if (!event_accepted(event))
|
||||
|
||||
Reference in New Issue
Block a user