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.
main
Devin J. Pohly 2022-04-03 00:01:52 -05:00
parent 4d3adea683
commit 720f56161e
2 changed files with 1 additions and 5 deletions

View File

@ -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:

2
dwl.c
View File

@ -191,8 +191,6 @@ typedef struct {
float scale;
const Layout *lt;
enum wl_output_transform rr;
int x;
int y;
} MonitorRule;
typedef struct {