[wiki] [sites] update tagset and systray patches || Jan Christoph Ebersbach

From: <hg_AT_suckless.org>
Date: Sun, 25 Mar 2012 11:47:02 +0200 (CEST)

changeset: 912:c0198c07e011
tag: tip
user: Jan Christoph Ebersbach <jceb_AT_e-jc.de>
date: Sun Mar 25 11:47:00 2012 +0200
files: dwm.suckless.org/patches/dwm-6.0-single_tagset.diff dwm.suckless.org/patches/dwm-6.0-single_tagset_all.diff dwm.suckless.org/patches/dwm-6.0-systray.diff dwm.suckless.org/patches/single_tagset.md dwm.suckless.org/patches/systray.md
description:
update tagset and systray patches


diff -r d87b64adbf0a -r c0198c07e011 dwm.suckless.org/patches/dwm-6.0-single_tagset.diff
--- a/dwm.suckless.org/patches/dwm-6.0-single_tagset.diff Sun Mar 25 11:43:34 2012 +0200
+++ b/dwm.suckless.org/patches/dwm-6.0-single_tagset.diff Sun Mar 25 11:47:00 2012 +0200
_AT_@ -17,7 +17,7 @@
 
 diff -r ad90e7fab364 dwm.c
 --- a/dwm.c Fri Feb 10 00:36:08 2012 +0000
-+++ b/dwm.c Sat Mar 24 13:41:03 2012 +0100
++++ b/dwm.c Sun Mar 25 11:43:05 2012 +0200
 _AT_@ -45,7 +45,7 @@
  #define CLEANMASK(mask) (mask & ~(numlockmask|LockMask) & (ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask))
  #define INTERSECT(x,y,w,h,m) (MAX(0, MIN((x)+(w),(m)->wx+(m)->ww) - MAX((x),(m)->wx)) \
_AT_@ -82,6 +82,15 @@
  
  /* configuration, allows nested code to access above variables */
  #include "config.h"
+_AT_@ -313,7 +320,7 @@
+ {
+ c->isfloating = r->isfloating;
+ c->tags |= r->tags;
+- for(m = mons; m && m->num != r->monitor; m = m->next);
++ for(m = mons; m && (m->tagset[m->seltags] & c->tags) == 0; m = m->next) ;
+ if(m)
+ c->mon = m;
+ }
 _AT_@ -394,9 +401,9 @@
  void
  arrange(Monitor *m) {
diff -r d87b64adbf0a -r c0198c07e011 dwm.suckless.org/patches/dwm-6.0-single_tagset_all.diff
--- a/dwm.suckless.org/patches/dwm-6.0-single_tagset_all.diff Sun Mar 25 11:43:34 2012 +0200
+++ b/dwm.suckless.org/patches/dwm-6.0-single_tagset_all.diff Sun Mar 25 11:47:00 2012 +0200
_AT_@ -15,9 +15,9 @@
 
 Please be aware that this patch probably breaks any other patch!
 
-diff -r 454a5dd61441 dwm.c
---- a/dwm.c Sun Mar 18 20:45:06 2012 +0100
-+++ b/dwm.c Sun Mar 18 21:10:25 2012 +0100
+diff -r 5144eaeed048 dwm.c
+--- a/dwm.c Sat Mar 24 18:07:28 2012 +0100
++++ b/dwm.c Sun Mar 25 11:08:22 2012 +0200
 _AT_@ -45,7 +45,7 @@
  #define CLEANMASK(mask) (mask & ~(numlockmask|LockMask) & (ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask))
  #define INTERSECT(x,y,w,h,m) (MAX(0, MIN((x)+(w),(m)->wx+(m)->ww) - MAX((x),(m)->wx)) \
_AT_@ -83,6 +83,15 @@
  
  /* configuration, allows nested code to access above variables */
  #include "config.h"
+_AT_@ -329,7 +336,7 @@
+ {
+ c->isfloating = r->isfloating;
+ c->tags |= r->tags;
+- for(m = mons; m && m->num != r->monitor; m = m->next);
++ for(m = mons; m && (m->tagset[m->seltags] & c->tags) == 0; m = m->next) ;
+ if(m)
+ c->mon = m;
+ }
 _AT_@ -410,9 +417,9 @@
  void
  arrange(Monitor *m) {
_AT_@ -538,18 +547,18 @@
          pop(c);
          /* swap windows instead of pushing the previous one down */
          if(at && at != c) {
-diff -r 454a5dd61441 focusmaster.c
---- a/focusmaster.c Sun Mar 18 20:45:06 2012 +0100
-+++ b/focusmaster.c Sun Mar 18 21:10:25 2012 +0100
+diff -r 5144eaeed048 focusmaster.c
+--- a/focusmaster.c Sat Mar 24 18:07:28 2012 +0100
++++ b/focusmaster.c Sun Mar 25 11:08:22 2012 +0200
 _AT_@ -1,4 +1,4 @@
  static void
  focusmaster(const Arg *arg) {
 - focus(selmon->clients);
 + focus(selmon->cl->clients);
  }
-diff -r 454a5dd61441 push.c
---- a/push.c Sun Mar 18 20:45:06 2012 +0100
-+++ b/push.c Sun Mar 18 21:10:25 2012 +0100
+diff -r 5144eaeed048 push.c
+--- a/push.c Sat Mar 24 18:07:28 2012 +0100
++++ b/push.c Sun Mar 25 11:08:22 2012 +0200
 _AT_@ -2,8 +2,8 @@
  prevtiled(Client *c) {
          Client *p, *r;
_AT_@ -584,9 +593,9 @@
                  /* attach after c */
                  detach(sel);
                  sel->next = c->next;
-diff -r 454a5dd61441 tagall.c
---- a/tagall.c Sun Mar 18 20:45:06 2012 +0100
-+++ b/tagall.c Sun Mar 18 21:10:25 2012 +0100
+diff -r 5144eaeed048 tagall.c
+--- a/tagall.c Sat Mar 24 18:07:28 2012 +0100
++++ b/tagall.c Sun Mar 25 11:08:22 2012 +0200
 _AT_@ -1,6 +1,6 @@
  void
  tagall(const Arg *arg) {
diff -r d87b64adbf0a -r c0198c07e011 dwm.suckless.org/patches/dwm-6.0-systray.diff
--- a/dwm.suckless.org/patches/dwm-6.0-systray.diff Sun Mar 25 11:43:34 2012 +0200
+++ b/dwm.suckless.org/patches/dwm-6.0-systray.diff Sun Mar 25 11:47:00 2012 +0200
_AT_@ -4,7 +4,7 @@
 
 diff -r ad90e7fab364 config.def.h
 --- a/config.def.h Fri Feb 10 00:36:08 2012 +0000
-+++ b/config.def.h Sat Mar 24 18:01:59 2012 +0100
++++ b/config.def.h Sun Mar 25 11:43:07 2012 +0200
 _AT_@ -10,6 +10,8 @@
  static const char selfgcolor[] = "#eeeeee";
  static const unsigned int borderpx = 1; /* border pixel of windows */
_AT_@ -14,17 +14,9 @@
  static const Bool showbar = True; /* False means no bar */
  static const Bool topbar = True; /* False means bottom bar */
  
-_AT_@ -31,6 +33,7 @@
- static const int nmaster = 1; /* number of clients in master area */
- static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
-
-+
- static const Layout layouts[] = {
- /* symbol arrange function */
- { "[]=", tile }, /* first entry is default */
 diff -r ad90e7fab364 dwm.c
 --- a/dwm.c Fri Feb 10 00:36:08 2012 +0000
-+++ b/dwm.c Sat Mar 24 18:01:59 2012 +0100
++++ b/dwm.c Sun Mar 25 11:43:07 2012 +0200
 _AT_@ -55,12 +55,15 @@
  #define TAGMASK ((1 << LENGTH(tags)) - 1)
  #define TEXTW(X) (textnw(X, strlen(X)) + dc.font.height)
diff -r d87b64adbf0a -r c0198c07e011 dwm.suckless.org/patches/single_tagset.md
--- a/dwm.suckless.org/patches/single_tagset.md Sun Mar 25 11:43:34 2012 +0200
+++ b/dwm.suckless.org/patches/single_tagset.md Sun Mar 25 11:47:00 2012 +0200
_AT_@ -19,7 +19,7 @@
 
 Please be aware that this patch probably breaks any other patch!
 
- * [dwm-6.0-single_tagset.diff](dwm-6.0-single_tagset.diff) (14K) (20120319)
+ * [dwm-6.0-single_tagset.diff](dwm-6.0-single_tagset.diff) (14K) (20120325)
 
 Special Version
 ---------------
_AT_@ -37,7 +37,7 @@
  * [tagall](tagall)
  * [zoomswap](zoomswap)
 
-[dwm-6.0-single_tagset_all.diff](dwm-6.0-single_tagset_all.diff) (18K) (20120319)
+[dwm-6.0-single_tagset_all.diff](dwm-6.0-single_tagset_all.diff) (18K) (20120325)
 
 Authors
 -------
diff -r d87b64adbf0a -r c0198c07e011 dwm.suckless.org/patches/systray.md
--- a/dwm.suckless.org/patches/systray.md Sun Mar 25 11:43:34 2012 +0200
+++ b/dwm.suckless.org/patches/systray.md Sun Mar 25 11:47:00 2012 +0200
_AT_@ -8,7 +8,7 @@
 
 Download
 --------
-* [dwm-6.0-systray.diff](dwm-6.0-systray.diff) (14K) (20120324)
+* [dwm-6.0-systray.diff](dwm-6.0-systray.diff) (14K) (20120325)
 
 Author
 ------
Received on Sun Mar 25 2012 - 11:47:02 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:32:19 CEST