all repos — dwm @ 2dc7f42fd7fc8f1fc8d837265221654e8565eb6b

my dwm build

applied Martin Hurton's view() simplification, not checking arg
Anselm R Garbe garbeam@gmail.com
Mon, 18 Aug 2008 09:49:44 +0100
commit

2dc7f42fd7fc8f1fc8d837265221654e8565eb6b

parent

9f3a5cb7540df6628c9c8a8bd7a8667a73f08fb1

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M dwm.cdwm.c

@@ -1640,10 +1640,10 @@ }

void view(const Arg *arg) { - if(arg && (arg->ui & TAGMASK) == tagset[seltags]) + if((arg->ui & TAGMASK) == tagset[seltags]) return; seltags ^= 1; /* toggle sel tagset */ - if(arg && (arg->ui & TAGMASK)) + if(arg->ui & TAGMASK) tagset[seltags] = arg->ui & TAGMASK; clearurgent(); arrange();