main.c
changeset 769 dc60583894e0
parent 762 140bcd4782d8
child 770 5280cbb5bbd4
equal deleted inserted replaced
768:b1dbe65d3e84 769:dc60583894e0
   115 	wa.event_mask = SubstructureRedirectMask | SubstructureNotifyMask
   115 	wa.event_mask = SubstructureRedirectMask | SubstructureNotifyMask
   116 		| EnterWindowMask | LeaveWindowMask;
   116 		| EnterWindowMask | LeaveWindowMask;
   117 	wa.cursor = cursor[CurNormal];
   117 	wa.cursor = cursor[CurNormal];
   118 	XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
   118 	XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
   119 	grabkeys();
   119 	grabkeys();
   120 	initrregs();
   120 	compileregexps();
   121 	for(ntags = 0; tags[ntags]; ntags++);
   121 	for(ntags = 0; tags[ntags]; ntags++);
   122 	seltag = emallocz(sizeof(Bool) * ntags);
   122 	seltag = emallocz(sizeof(Bool) * ntags);
   123 	seltag[0] = True;
   123 	seltag[0] = True;
   124 	/* style */
   124 	/* style */
   125 	dc.norm[ColBorder] = getcolor(NORMBORDERCOLOR);
   125 	dc.norm[ColBorder] = getcolor(NORMBORDERCOLOR);