summaryrefslogtreecommitdiff
path: root/include/xkbcommon/xkbregistry.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xkbcommon/xkbregistry.h')
-rw-r--r--include/xkbcommon/xkbregistry.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/xkbcommon/xkbregistry.h b/include/xkbcommon/xkbregistry.h
index 4e7e926..7be0c9b 100644
--- a/include/xkbcommon/xkbregistry.h
+++ b/include/xkbcommon/xkbregistry.h
@@ -163,6 +163,13 @@ enum rxkb_context_flags {
* on the lookup behavior.
*/
RXKB_CONTEXT_LOAD_EXOTIC_RULES = (1 << 1),
+ /**
+ * Disable the use of secure_getenv for this context, so that privileged
+ * processes can use environment variables. Client uses at their own risk.
+ *
+ * @since 1.5.0
+ */
+ RXKB_CONTEXT_NO_SECURE_GETENV = (1 << 2)
};
/**