diff options
author | emersion <contact@emersion.fr> | 2018-10-26 18:38:23 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-10-28 22:39:54 +0100 |
commit | 346ec21c4c9007e98c84b67e4f5e4b9a67bbbce7 (patch) | |
tree | 12574c950607634c72be6a00204772d25bc4c78b /docs | |
parent | f668e49faeeb06bf71e8b0d21f745e0f68aab4ba (diff) |
util: use shm_open for in-memory files
shm_open is a POSIX function creating an in-memory file. Using it simplifies
the code and removes the dependency on XDG_RUNTIME_DIR. The only downside is
that we need to generate a random name for the shm file.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/env_vars.md | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/env_vars.md b/docs/env_vars.md index ef12e0b3..1b1a5fd6 100644 --- a/docs/env_vars.md +++ b/docs/env_vars.md @@ -30,4 +30,3 @@ generic * *WAYLAND_DISPLAY*, *_WAYLAND_DISPLAY*, *WAYLAND_SOCKET*: if set probe Wayland backend in *wlr_backend_autocreate* * *XCURSOR_PATH*: directory where xcursors are located -* *XDG_RUNTIME_DIR*: used to store non persistent temporary files |