You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
777 B
Plaintext

1 year ago
--- dwm.c 2014-07-17 15:54:48.366716795 +0200
+++ dwm-patch.c 2014-07-17 15:52:37.501208710 +0200
@@ -285,6 +285,8 @@
static DC dc;
static Monitor *mons = NULL, *selmon = NULL;
static Window root;
+static int globalborder ;
+static int globalborder ;
/* configuration, allows nested code to access above variables */
#include "config.h"
@@ -1757,12 +1765,12 @@
if(i < m->nmaster) {
h = (m->wh - my) / (MIN(n, m->nmaster) - i);
resize(c, m->wx, m->wy + my, mw - (2*c->bw), h - (2*c->bw), False);
- my += HEIGHT(c);
+ my += HEIGHT(c) + 2 * globalborder;
}
else {
h = (m->wh - ty) / (n - i);
resize(c, m->wx + mw, m->wy + ty, m->ww - mw - (2*c->bw), h - (2*c->bw), False);
- ty += HEIGHT(c);
+ ty += HEIGHT(c) + 2 * globalborder;
}
}