client.c
changeset 716 4ce65f61f01b
parent 715 5b3e4cdb6674
child 718 09452e717bfd
equal deleted inserted replaced
715:5b3e4cdb6674 716:4ce65f61f01b
    91 		stack = c;
    91 		stack = c;
    92 		grabbuttons(c, True);
    92 		grabbuttons(c, True);
    93 	}
    93 	}
    94 	sel = c;
    94 	sel = c;
    95 	drawstatus();
    95 	drawstatus();
    96 	if(!activescreen)
    96 	if(!selscreen)
    97 		return;
    97 		return;
    98 	if(c) {
    98 	if(c) {
    99 		XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]);
    99 		XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]);
   100 		XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
   100 		XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
   101 	}
   101 	}