summaryrefslogtreecommitdiff
path: root/src/conf.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-02-01 09:17:35 +0000
committersabetts <sabetts>2002-02-01 09:17:35 +0000
commit5ca712fc606b1839de5bcbe80833fa9d3a17332d (patch)
treea7daabf975a14649cbbaf4f054508b7ab59cd657 /src/conf.h
parent7457d9f3ac419123239f0e02fbcdfd0db1013138 (diff)
downloadratpoison-5ca712fc606b1839de5bcbe80833fa9d3a17332d.zip
* src/actions.c (command): bail out if alias recursion gets too deep.
* src/conf.h (MAX_ALIAS_RECURSIVE_DEPTH): new define * src/bar.c (bar_x): update to work with all X11 gravity values. (bar_y): likewise * src/actions.c (cmd_defbargravity): Rename from cmd_defbarloc. Dependant code updated. (cmd_defbargravity): accept all gravity arguments.
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index fbe1871..ed6d7c2 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -47,6 +47,10 @@
(don't hide the windows underneath, and center them) */
#define MAXSIZE_WINDOWS_ARE_TRANSIENTS
+/* An alias command could recursively call inself infinitely. This
+ stops that behavior. */
+#define MAX_ALIAS_RECURSIVE_DEPTH 16
+
/* Pressing a key sends the mouse to the bottom right corner. This
doesn't work very well yet. */
/* #define HIDE_MOUSE */