changeset: 184:e41d9e433957
tag: tip
user: kzed_AT_eris
date: Mon Aug 24 17:17:46 2009 +0200
files: dwm.suckless.org/patches/nmaster+bstack-5.6.1.diff dwm.suckless.org/patches/nmaster.md
description:
fixed bug in nmaster+bstack-5.6.1 patch
diff -r f9468a5c07cf -r e41d9e433957 dwm.suckless.org/patches/nmaster+bstack-5.6.1.diff
--- a/dwm.suckless.org/patches/nmaster+bstack-5.6.1.diff Fri Aug 21 08:40:13 2009 +0000
+++ b/dwm.suckless.org/patches/nmaster+bstack-5.6.1.diff Mon Aug 24 17:17:46 2009 +0200
_AT_@ -1,6 +1,6 @@
diff -r e47a47bd3ed4 config.def.h
--- a/config.def.h Tue Jul 21 10:57:54 2009 +0100
-+++ b/config.def.h Mon Aug 17 15:08:48 2009 +0200
++++ b/config.def.h Mon Aug 24 17:14:00 2009 +0200
_AT_@ -24,11 +24,13 @@
/* layout(s) */
_AT_@ -35,7 +35,7 @@
{ MODKEY, XK_0, view, {.ui = ~0 } },
diff -r e47a47bd3ed4 dwm.c
--- a/dwm.c Tue Jul 21 10:57:54 2009 +0100
-+++ b/dwm.c Mon Aug 17 15:08:48 2009 +0200
++++ b/dwm.c Mon Aug 24 17:14:00 2009 +0200
_AT_@ -122,6 +122,7 @@
struct Monitor {
_AT_@ -104,8 +104,8 @@
- resize(c, m->wx, m->wy, (n == 1 ? m->ww : mw) - 2 * c->bw, m->wh - 2 * c->bw, False);
- if(--n == 0)
- return;
-+ if(selmon->nmaster > 0) {
-+ nm = n < selmon->nmaster ? n : selmon->nmaster;
++ if(m->nmaster > 0) {
++ nm = n < m->nmaster ? n : m->nmaster;
+ c = nexttiled(m->clients);
+ mw = m->mfact * m->ww;
+ h = m->wh / nm;
_AT_@ -150,8 +150,8 @@
+ if(n == 0)
+ return;
+
-+ if(selmon->nmaster > 0) {
-+ nm = n < selmon->nmaster ? n : selmon->nmaster;
++ if(m->nmaster > 0) {
++ nm = n < m->nmaster ? n : m->nmaster;
+ c = nexttiled(m->clients);
+ mh = m->mfact * m->wh;
+ x = m->wx;
diff -r f9468a5c07cf -r e41d9e433957 dwm.suckless.org/patches/nmaster.md
--- a/dwm.suckless.org/patches/nmaster.md Fri Aug 21 08:40:13 2009 +0000
+++ b/dwm.suckless.org/patches/nmaster.md Mon Aug 24 17:17:46 2009 +0200
_AT_@ -44,7 +44,7 @@
- contains ntile, dntile and tilecols. Also supports the clients-per-tag
* [nmaster-4.5.diff][2] (dwm 4.5) (2.7kb) (20071016)
* [dwm-4.4.1-nmaster.diff][1] (dwm 4.4) (2.8kb) (20070826)
- * [nmaster+bstack-5.6.1.diff](nmaster+bstack-5.6.1.diff) (dwm 5.6.1) (5.9kb) (20090817)
+ * [nmaster+bstack-5.6.1.diff](nmaster+bstack-5.6.1.diff) (dwm 5.6.1) (5.9kb) (20090824)
- another variation; contains bstack with nmaster support
[1]:
http://schot.a-eskwadraat.nl/files/dwm-4.4.1-nmaster.diff
Received on Mon Aug 24 2009 - 17:18:24 CEST