minor fixes
This commit is contained in:
parent
fa244aa7fb
commit
446fa8c671
4
dwm.c
4
dwm.c
|
@ -1432,8 +1432,7 @@ setup(void) {
|
||||||
sw = DisplayWidth(dpy, screen);
|
sw = DisplayWidth(dpy, screen);
|
||||||
sh = DisplayHeight(dpy, screen);
|
sh = DisplayHeight(dpy, screen);
|
||||||
bh = dc.font.height + 2;
|
bh = dc.font.height + 2;
|
||||||
|
mfact = MFACT;
|
||||||
/* update geometry */
|
|
||||||
updategeom();
|
updategeom();
|
||||||
|
|
||||||
/* init atoms */
|
/* init atoms */
|
||||||
|
@ -1727,7 +1726,6 @@ updategeom(void) {
|
||||||
wh = sh - bh;
|
wh = sh - bh;
|
||||||
|
|
||||||
/* master area geometry */
|
/* master area geometry */
|
||||||
mfact = MFACT;
|
|
||||||
mx = wx;
|
mx = wx;
|
||||||
my = wy;
|
my = wy;
|
||||||
mw = mfact * ww;
|
mw = mfact * ww;
|
||||||
|
|
Loading…
Reference in New Issue