commit 720f56161e5401afc1526d1ebfb977b191ca10f5
parent 4d3adea68325b70eafbd56a31023f96b92532b8d
Author: Devin J. Pohly <djpohly@gmail.com>
Date: Sun, 3 Apr 2022 00:01:52 -0500
Remove vestigial monitor configuration info
The x/y fields in monitor rules are unused and were meant to be deleted.
Also removes the outdated comment in config.h.
Diffstat:
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -25,9 +25,7 @@ static const Layout layouts[] = {
{ "[M]", monocle },
};
-/* monitors
- * The order in which monitors are defined determines their position.
- * Non-configured monitors are always added to the left. */
+/* monitors */
static const MonitorRule monrules[] = {
/* name mfact nmaster scale layout rotate/reflect x y */
/* example of a HiDPI laptop monitor:
diff --git a/dwl.c b/dwl.c
@@ -191,8 +191,6 @@ typedef struct {
float scale;
const Layout *lt;
enum wl_output_transform rr;
- int x;
- int y;
} MonitorRule;
typedef struct {