Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
making variable declarations in dwm.h extern, this seems to be more ansi compliant
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
2c3f5a2
..
f3f8e26
100644
(file)
--- a/
layout.c
+++ b/
layout.c
@@
-1,7
+1,4
@@
-/* © 2006-2007 Anselm R. Garbe <garbeam at gmail dot com>
- * © 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
- * © 2007 Premysl Hruby <dfenze at gmail dot com>
- * See LICENSE file for license details. */
+/* See LICENSE file for copyright and license details. */
#include "dwm.h"
#include <stdlib.h>
#include "dwm.h"
#include <stdlib.h>
@@
-246,7
+243,7
@@
togglemax(const char *arg) {
sel->ry = sel->y;
sel->rw = sel->w;
sel->rh = sel->h;
sel->ry = sel->y;
sel->rw = sel->w;
sel->rh = sel->h;
- resize(sel, wax, way, waw - 2 *
BORDERPX, wah - 2 * BORDERPX
, True);
+ resize(sel, wax, way, waw - 2 *
sel->border, wah - 2 * sel->border
, True);
}
else
resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);
}
else
resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);