Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
file_watch: don't watch special files
While /dev/null is always empty, it still generates inotify events. So using /dev/null as config file will cause the compositor to reset itself frequently. Not entire sure if only allowing regular files is sufficient, but we will be doing this until an issue comes up. Fixes chjj#320 Signed-off-by: Yuxuan Shui <[email protected]>
- Loading branch information