diff options
author | NRK <nrk@disroot.org> | 2021-11-19 16:08:39 +0600 |
---|---|---|
committer | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2021-11-19 17:02:50 +0600 |
commit | 43fcd2e02e113a55f673f266ad28b53858500022 (patch) | |
tree | b831fa86b7d97a975865bc77465c47496ab614a4 /main.c | |
parent | 2df33208d76159ffacffce3c8a8edc3a5ad7ea7b (diff) |
set env var NSXIV_USING_NULL for key-handler and update docs
Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -549,6 +549,7 @@ void run_key_handler(const char *key, unsigned int mask) mask & ControlMask ? "C-" : "", mask & Mod1Mask ? "M-" : "", mask & ShiftMask ? "S-" : "", key); + setenv("NSXIV_USING_NULL", options->using_null ? "1" : "0", 1); if ((pid = fork()) == 0) { close(pfd[1]); |