~ruther/dwl

720f56161e5401afc1526d1ebfb977b191ca10f5 — Devin J. Pohly 3 years ago 4d3adea
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.
2 files changed, 1 insertions(+), 5 deletions(-)

M config.def.h
M dwl.c
M config.def.h => config.def.h +1 -3
@@ 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:

M dwl.c => dwl.c +0 -2
@@ 191,8 191,6 @@ typedef struct {
	float scale;
	const Layout *lt;
	enum wl_output_transform rr;
	int x;
	int y;
} MonitorRule;

typedef struct {

Do not follow this link