ソースを参照

Do not watch dir if entering in filter mode

master
Arun Prakash Jana 5年前
コミット
ba088196f6
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: A75979F35C080412
1個のファイルの変更3行の追加2行の削除
  1. +3
    -2
      src/nnn.c

+ 3
- 2
src/nnn.c ファイルの表示

@@ -2830,10 +2830,11 @@ begin:
populate(path, lastname);

#ifdef LINUX_INOTIFY
if (inotify_wd == -1)
if (presel != FILTER && inotify_wd == -1) {
inotify_wd = inotify_add_watch(inotify_fd, path, INOTIFY_MASK);
}
#elif defined(BSD_KQUEUE)
if (event_fd == -1) {
if (presel != FILTER && event_fd == -1) {
#if defined(O_EVTONLY)
event_fd = open(path, O_EVTONLY);
#else


読み込み中…
キャンセル
保存