aboutsummaryrefslogtreecommitdiff
path: root/autoreload_nop.c
Commit message (Collapse)AuthorAgeFilesLines
* fix: send implicit_mod to process_bindings (#176)N-R-K2021-12-011-1/+1
| | | | | | | | | | | | * fix: send implicit_mod to process_bindings this solves the edge case where someone might have `ShiftMask + A` in their keybindings compared to a plain `A`. Closes: https://github.com/nsxiv/nsxiv/pull/166#issuecomment-978853136 * code-style: smuggle small style fix in win_draw_bar now mimics autoreload_nop.c functions
* code-style: fix consistency issues all over the codebase (#94)Berke Kocaoğlu2021-10-111-1/+0
| | | | | | | | | | | | | | | * remove duplicate comment * remove empty tabs and blank lines * move macros and globals ontop * comment to seprate function implementation * fix alignment * switch to *argv[] similar to other suckless code * kill all empty last lines * append comment to endif * reuse existing ARRLEN macro * comment fall through * use while (true) everywhere Co-authored-by: NRK <nrk@disroot.org>
* Rename, Update Docs and Prepare for Release (#9)Berke Kocaoğlu2021-09-161-5/+5
| | | | | | | Co-authored-by: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com> Co-authored-by: NRK <nrk@disroot.org> Co-authored-by: Arthur Williams <taaparthur@gmail.com> Co-authored-by: eylles <ed.ylles1997@gmail.com>
* Fix autoreload-nop accidentally selecting on stdinLeonardo Taccari2017-12-131-1/+1
| | | | | | | | When sxiv is built with AUTORELOAD=nop if something is feed via stdin it will start to infinitely call select() leading to a 100% CPU usage. Thanks to @sdx23 for helping in analyzing that problem! Fixes issue #297.
* One header file for type definitions and function declarationsBert Münnich2017-10-161-1/+1
|
* Adapt inotify_nop to API changesBert Münnich2017-05-171-9/+8
|
* Revised autoreload interfaceBert Münnich2017-05-171-10/+22
| | | | | | | | | | | | Make the header only contain the public interface and nothing from the implementation. All functions get a handle to their self object, like the img_ and tns_ and win_ functions. All necessary data (file path) is also passed as an argument, so that no extern redeclarations are needed. Make arl_setup_dir() private, it's not called outside the module. Make arl_handle() return true if the file has changed, so that the reloading of the file can be done by the caller.
* Add autoreload support by inotify (and dummy backend nop)Max Voit2017-05-171-0/+31