Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
trying a different configuration
[dwm.git]
/
main.c
diff --git
a/main.c
b/main.c
index
7ada114
..
5dab0db
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-19,8
+19,8
@@
char stext[1024];
Bool *seltag;
char stext[1024];
Bool *seltag;
-int
screen, sx, sy, sw, sh, bx, by, bw, bh, mw
;
-unsigned int ntags, numlockmask
, modew
;
+int
bx, by, bw, bh, bmw, mw, screen, sx, sy, sw, sh
;
+unsigned int ntags, numlockmask;
Atom wmatom[WMLast], netatom[NetLast];
Bool running = True;
Bool issel = True;
Atom wmatom[WMLast], netatom[NetLast];
Bool running = True;
Bool issel = True;
@@
-129,7
+129,7
@@
setup()
dc.status[ColFG] = getcolor(STATUSFGCOLOR);
setfont(FONT);
dc.status[ColFG] = getcolor(STATUSFGCOLOR);
setfont(FONT);
-
modew = textw(FLOATSYMBOL) > textw(TILEDSYMBOL) ? textw(FLOATSYMBOL) : textw(TILED
SYMBOL);
+
bmw = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILE
SYMBOL);
sx = sy = 0;
sw = DisplayWidth(dpy, screen);
sh = DisplayHeight(dpy, screen);
sx = sy = 0;
sw = DisplayWidth(dpy, screen);
sh = DisplayHeight(dpy, screen);