aboutsummaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-11 20:27:01 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-11 20:27:01 +0100
commit446fa8c67117e14e0e9c2a08f83dfa5bed69ea18 (patch)
treee13e45a5c01db153b5ff80a1a66adf023f34f59a /dwm.c
parentfa244aa7fbcb438193b17111724640be244543ad (diff)
downloaddwm-446fa8c67117e14e0e9c2a08f83dfa5bed69ea18.tar.gz
dwm-446fa8c67117e14e0e9c2a08f83dfa5bed69ea18.tar.bz2
dwm-446fa8c67117e14e0e9c2a08f83dfa5bed69ea18.zip
minor fixes
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dwm.c b/dwm.c
index 37eb299..d4fd0d5 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1432,8 +1432,7 @@ setup(void) {
sw = DisplayWidth(dpy, screen);
sh = DisplayHeight(dpy, screen);
bh = dc.font.height + 2;
-
- /* update geometry */
+ mfact = MFACT;
updategeom();
/* init atoms */
@@ -1727,7 +1726,6 @@ updategeom(void) {
wh = sh - bh;
/* master area geometry */
- mfact = MFACT;
mx = wx;
my = wy;
mw = mfact * ww;