commit 5ccfd8edbb9fd1dbc9cefd1145cb68ba434b0872
parent d290bc0791429a0cc5f9f7c3b278ac95a75ca344
Author: robert <robertrussell.72001@gmail.com>
Date: Mon, 27 Dec 2021 17:55:36 -0800
Fix config documentation
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/config.def.c b/config.def.c
@@ -35,8 +35,8 @@ float chscale = 1.0;
* 1: program passed with -e
* 2: scroll and/or utmp
* 3: SHELL environment variable
- * 4: value of shell in /etc/passwd
- * 5: value of shell in config.h */
+ * 4: user shell in /etc/passwd
+ * 5: shell in config.c */
char *shell = "/bin/sh";
char *utmp = 0;
/* scroll program: to enable use a string like "scroll" */
diff --git a/config.def.h b/config.def.h
@@ -103,4 +103,8 @@ extern Btn btns[];
extern Key keys[];
extern SelType seltypes[];
+/* confstate takes the "X state" (i.e., the raw keyboard modifier state
+ * received from X lib) and converts it into "st state" (i.e., the boolean
+ * properties used in matching events to actions in the btns, keys, and
+ * seltypes tables). */
uint confstate(uint, int);