aewl

diff main.c @ 262:d659a2dce2b5

implemented viewextend and added M-S-C-n shortcuts for extending the current view... updated man page (works great!) nice feature
author Anselm R.Garbe <arg@10ksloc.org>
date Fri, 11 Aug 2006 19:26:12 +0200
parents d6fd632d861c
children 573b1c4a71a4
line diff
     1.1 --- a/main.c	Fri Aug 11 18:37:41 2006 +0200
     1.2 +++ b/main.c	Fri Aug 11 19:26:12 2006 +0200
     1.3 @@ -83,7 +83,7 @@
     1.4  /* extern */
     1.5  
     1.6  char stext[1024];
     1.7 -Bool *tsel;
     1.8 +Bool *seltag;
     1.9  int screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
    1.10  unsigned int ntags;
    1.11  Atom wmatom[WMLast], netatom[NetLast];
    1.12 @@ -213,8 +213,8 @@
    1.13  	initrregs();
    1.14  
    1.15  	for(ntags = 0; tags[ntags]; ntags++);
    1.16 -	tsel = emallocz(sizeof(Bool) * ntags);
    1.17 -	tsel[DEFTAG] = True;
    1.18 +	seltag = emallocz(sizeof(Bool) * ntags);
    1.19 +	seltag[DEFTAG] = True;
    1.20  
    1.21  	/* style */
    1.22  	dc.bg = getcolor(BGCOLOR);