diff options
author | sabetts <sabetts> | 2002-02-01 09:17:35 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2002-02-01 09:17:35 +0000 |
commit | 5ca712fc606b1839de5bcbe80833fa9d3a17332d (patch) | |
tree | a7daabf975a14649cbbaf4f054508b7ab59cd657 /src/conf.h | |
parent | 7457d9f3ac419123239f0e02fbcdfd0db1013138 (diff) | |
download | ratpoison-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |