summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c4
-rw-r--r--tile.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/main.c b/main.c
index bd19e49..20450db 100644
--- a/main.c
+++ b/main.c
@@ -19,7 +19,7 @@
19 19
20char stext[256]; 20char stext[256];
21int bh, bmw, screen, sx, sy, sw, sh, wax, way, waw, wah; 21int bh, bmw, screen, sx, sy, sw, sh, wax, way, waw, wah;
22unsigned int master, nmaster, ntags, numlockmask; 22unsigned int ntags, numlockmask;
23Atom wmatom[WMLast], netatom[NetLast]; 23Atom wmatom[WMLast], netatom[NetLast];
24Bool running = True; 24Bool running = True;
25Bool *seltag; 25Bool *seltag;
@@ -133,8 +133,6 @@ setup(void) {
133 sx = sy = 0; 133 sx = sy = 0;
134 sw = DisplayWidth(dpy, screen); 134 sw = DisplayWidth(dpy, screen);
135 sh = DisplayHeight(dpy, screen); 135 sh = DisplayHeight(dpy, screen);
136 master = MASTER;
137 nmaster = NMASTER;
138 bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL); 136 bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL);
139 /* bar */ 137 /* bar */
140 dc.h = bh = dc.font.height + 2; 138 dc.h = bh = dc.font.height + 2;
diff --git a/tile.c b/tile.c
index a9bc0f5..fe25943 100644
--- a/tile.c
+++ b/tile.c
@@ -3,15 +3,17 @@
3 */ 3 */
4#include "dwm.h" 4#include "dwm.h"
5 5
6unsigned int master = MASTER;
7unsigned int nmaster = NMASTER;
8
6/* static */ 9/* static */
7 10
8static void 11static void
9togglemax(Client *c) { 12togglemax(Client *c) {
10 XEvent ev; 13 XEvent ev;
11 14
12 if(c->isfixed) 15 if(c->isfixed)
13 return; 16 return;
14
15 if((c->ismax = !c->ismax)) { 17 if((c->ismax = !c->ismax)) {
16 c->rx = c->x; 18 c->rx = c->x;
17 c->ry = c->y; 19 c->ry = c->y;