aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorA Frederick Christensen <dwl@ivories.org>2024-06-02 14:19:24 -0500
committerA Frederick Christensen <dwl@ivories.org>2024-06-02 18:54:11 -0500
commitbca077b9279f28c12cced63f0a556c0556f7169c (patch)
tree0baa84782a0bd159fceb5caf67526a62eabc7315 /config.def.h
parent0047ff740a4f8da430cecdb19084f626bf535b21 (diff)
Allow negative coordinates in MonitorRules
Monitor/output position (-1, -1) remains as a single indicator value for autoconfigure layout. Additionally, one minor comment typo is corrected.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 8f498d2..a784eb4 100644
--- a/config.def.h
+++ b/config.def.h
@@ -36,6 +36,8 @@ static const Layout layouts[] = {
};
/* monitors */
+/* (x=-1, y=-1) is reserved as an "autoconfigure" monitor position indicator */
+/* WARNING: negative values other than (-1, -1) cause problems with xwayland clients' menus */
/* NOTE: ALWAYS add a fallback rule, even if you are completely sure it won't be used */
static const MonitorRule monrules[] = {
/* name mfact nmaster scale layout rotate/reflect x y */