From 43fcd2e02e113a55f673f266ad28b53858500022 Mon Sep 17 00:00:00 2001 From: NRK Date: Fri, 19 Nov 2021 16:08:39 +0600 Subject: set env var NSXIV_USING_NULL for key-handler and update docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Berke Kocaoğlu --- main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main.c') diff --git a/main.c b/main.c index 5bab026..69a1f63 100644 --- a/main.c +++ b/main.c @@ -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]); -- cgit v1.2.3-54-g00ecf