diff options
author | Sven Willner <sven.willner@gmail.com> | 2017-09-01 18:16:45 +0200 |
---|---|---|
committer | Sven Willner <sven.willner@gmail.com> | 2017-09-01 18:16:45 +0200 |
commit | f5ce98d3f379a810103e37fa36baf241668387f1 (patch) | |
tree | 765a537f16b0cfd7b91bc54aaa14840a8949d9f3 /src/winwidget.c | |
parent | 177cbff6af7b9845d592fb0497464d70ee423418 (diff) |
changed option from inotify to auto-reload
Diffstat (limited to 'src/winwidget.c')
-rw-r--r-- | src/winwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index 039a582..b2c340e 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -794,7 +794,7 @@ void winwidget_inotify_remove(winwidget winwid) #ifdef HAVE_INOTIFY void winwidget_inotify_add(winwidget winwid, char *filename) { - if (opt.inotify) { + if (opt.auto_reload) { D(("Adding inotify watch for %s\n", filename)); winwid->inotify_wd = inotify_add_watch(opt.inotify_fd, filename, |