comparison client.c @ 16:cb5813c117e2

merge heads
author paulo
date Mon, 09 Apr 2018 20:13:53 -0600
parents 0968b3739b8d
children
comparison
equal deleted inserted replaced
2:90be6b144229 3:268ad45eeefd
162 sel = c; 162 sel = c;
163 drawstatus(); 163 drawstatus();
164 if(!selscreen) 164 if(!selscreen)
165 return; 165 return;
166 if(c) { 166 if(c) {
167 XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]); 167 XSetWindowBorder(dpy, c->win, (getkeymode() == COMMANDMODE) ? dc.inv[ColBorder] : dc.sel[ColBorder]);
168 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); 168 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
169 } 169 }
170 else 170 else
171 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); 171 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
172 } 172 }