event.c
changeset 705 1e571a8c7552
parent 704 6110b9efc299
child 706 163fdca8f064
equal deleted inserted replaced
704:6110b9efc299 705:1e571a8c7552
   234 		focus(c);
   234 		focus(c);
   235 	else if(ev->window == root) {
   235 	else if(ev->window == root) {
   236 		issel = True;
   236 		issel = True;
   237 		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
   237 		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
   238 		if(sel)
   238 		if(sel)
   239 			XSetWindowBorder(dpy, sel->win, dc.sel[ColBorder]);
   239 			focus(sel);
   240 	}
   240 	}
   241 }
   241 }
   242 
   242 
   243 static void
   243 static void
   244 expose(XEvent *e) {
   244 expose(XEvent *e) {