sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c47f6a5bd28ce44f3783ab39ee123572b2496f03
parent cf977c59e351d1685c3a431186c3e7af4e90833d
Author: Unia <jthidskes@live.nl>
Date:   Wed, 27 Mar 2013 12:49:38 +0100

fix counter in deck + cleanup in smfact

Diffstat:
Mdwm.suckless.org/patches/dwm-6.0-deck.diff | 9+++++----
Mdwm.suckless.org/patches/dwm-6.0-smfact.diff | 4++--
2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/dwm.suckless.org/patches/dwm-6.0-deck.diff b/dwm.suckless.org/patches/dwm-6.0-deck.diff @@ -1,5 +1,5 @@ ---- dwm.c.orig 2011-12-19 16:02:46.000000000 +0100 -+++ dwm.c 2013-03-23 17:19:43.676517546 +0100 +--- dwm.c.orig 2013-03-26 23:50:10.044576455 +0100 ++++ dwm.c 2013-03-26 23:50:27.494576161 +0100 @@ -171,6 +171,7 @@ static void configurenotify(XEvent *e); static void configurerequest(XEvent *e); @@ -8,12 +8,13 @@ static void destroynotify(XEvent *e); static void detach(Client *c); static void detachstack(Client *c); -@@ -661,6 +662,33 @@ +@@ -661,6 +662,34 @@ } void +deck(Monitor *m) { -+ unsigned int i, n, dn, h, mw, my; ++ int dn; ++ unsigned int i, n, h, mw, my; + Client *c; + + for(n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++); diff --git a/dwm.suckless.org/patches/dwm-6.0-smfact.diff b/dwm.suckless.org/patches/dwm-6.0-smfact.diff @@ -1,10 +1,10 @@ --- config.def.h 2011-12-19 16:02:46.000000000 +0100 -+++ config.h 2013-03-26 00:40:52.933242100 +0100 ++++ config.def.h 2013-03-26 00:40:52.933242100 +0100 @@ -24,6 +24,7 @@ static const Rule rules[] = { /* layout(s) */ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ -+static const float smfact = 0.00; /* factor of tiled clients [0.05..0.95] */ ++static const float smfact = 0.00; /* factor of stacked clients [0.00..0.95] */ static const int nmaster = 1; /* number of clients in master area */ static const Bool resizehints = True; /* True means respect size hints in tiled resizals */