aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2022-04-03 00:01:52 -0500
committerDevin J. Pohly <djpohly@gmail.com>2022-04-03 00:01:52 -0500
commit720f56161e5401afc1526d1ebfb977b191ca10f5 (patch)
treeb04b5606804508eee55014c769a2389ba1ee45ed
parent4d3adea68325b70eafbd56a31023f96b92532b8d (diff)
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.
-rw-r--r--config.def.h4
-rw-r--r--dwl.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index 00f6a85..7e61695 100644
--- 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
index ac62120..24d015f 100644
--- 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 {