[wiki] [sites] fix counter in deck + cleanup in smfact || Unia

From: <git_AT_suckless.org>
Date: Wed, 27 Mar 2013 12:49:24 +0100

commit c47f6a5bd28ce44f3783ab39ee123572b2496f03
Author: Unia <jthidskes_AT_live.nl>
Date: Wed Mar 27 12:49:38 2013 +0100

    fix counter in deck + cleanup in smfact

diff --git a/dwm.suckless.org/patches/dwm-6.0-deck.diff b/dwm.suckless.org/patches/dwm-6.0-deck.diff
index 3cafc6a..77bccb8 100644
--- a/dwm.suckless.org/patches/dwm-6.0-deck.diff
+++ b/dwm.suckless.org/patches/dwm-6.0-deck.diff
_AT_@ -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
 _AT_@ -171,6 +171,7 @@
  static void configurenotify(XEvent *e);
  static void configurerequest(XEvent *e);
_AT_@ -8,12 +8,13 @@
  static void destroynotify(XEvent *e);
  static void detach(Client *c);
  static void detachstack(Client *c);
-_AT_@ -661,6 +662,33 @@
+_AT_@ -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
index 82e7f9d..f9a2e36 100644
--- a/dwm.suckless.org/patches/dwm-6.0-smfact.diff
+++ b/dwm.suckless.org/patches/dwm-6.0-smfact.diff
_AT_@ -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
 _AT_@ -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 */
  
Received on Wed Mar 27 2013 - 12:49:24 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 27 2013 - 13:00:09 CET