From d7413ffd2d9a84fc3140b28b26f8cb6bb80164e4 Mon Sep 17 00:00:00 2001 From: "Anselm R.Garbe" Date: Fri, 11 Aug 2006 18:37:41 +0200 Subject: implement multi-tag selection through button3 click on the specific tag --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 52c0347..fec7ea8 100644 --- a/main.c +++ b/main.c @@ -83,7 +83,7 @@ xerrorstart(Display *dsply, XErrorEvent *ee) /* extern */ char stext[1024]; -int tsel = DEFTAG; +Bool *tsel; int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; unsigned int ntags; Atom wmatom[WMLast], netatom[NetLast]; @@ -213,6 +213,8 @@ main(int argc, char *argv[]) initrregs(); for(ntags = 0; tags[ntags]; ntags++); + tsel = emallocz(sizeof(Bool) * ntags); + tsel[DEFTAG] = True; /* style */ dc.bg = getcolor(BGCOLOR); -- cgit v1.2.3