[wiki] [sites] centeredmaster patch update || jeromenerf

From: <git_AT_suckless.org>
Date: Sat, 17 Oct 2015 17:51:49 +0200

commit 4ef3f468840ece67fbb86b1c15f71b93ece942c1
Author: jeromenerf <jerome.andrieux_AT_gmail.com>
Date: Sat Oct 17 17:50:21 2015 +0200

    centeredmaster patch update
    
    - fix bug when used on right hand side monitor (forgot offset)
    - update wiki page

diff --git a/dwm.suckless.org/patches/centeredmaster.md b/dwm.suckless.org/patches/centeredmaster.md
index 164a6c8..ad0cdde 100644
--- a/dwm.suckless.org/patches/centeredmaster.md
+++ b/dwm.suckless.org/patches/centeredmaster.md
_AT_@ -48,7 +48,7 @@ With two clients in master:
 
 ## Links
 
-* [dwm-6.1-centeredmaster.diff](dwm-6.1-centeredmaster.diff) - 4K, 2015/08/15
+* [dwm-6.1-centeredmaster.diff](dwm-6.1-centeredmaster.diff) - 4K, 2015/10/17
 
 
 [jerome](http://blog.jardinmagique.info) <jerome_AT_gcu.info>
diff --git a/dwm.suckless.org/patches/dwm-6.1-centeredmaster.diff b/dwm.suckless.org/patches/dwm-6.1-centeredmaster.diff
index a6a013c..dd7cd1f 100644
--- a/dwm.suckless.org/patches/dwm-6.1-centeredmaster.diff
+++ b/dwm.suckless.org/patches/dwm-6.1-centeredmaster.diff
_AT_@ -47,7 +47,7 @@ index 783fcdb..ab179d8 100644
 + } else {
 + // Stack clients are stacked horizontally
 + w = (m->ww - tx) / (n - i);
-+ resize(c, tx, m->wy, w - (2*c->bw), m->wh - (2*c->bw), False);
++ resize(c, m->wx + tx, m->wy, w - (2*c->bw), m->wh - (2*c->bw), False);
 + tx += WIDTH(c);
 + }
 +}
Received on Sat Oct 17 2015 - 17:51:49 CEST

This archive was generated by hypermail 2.3.0 : Sat Oct 17 2015 - 18:00:12 CEST