comparison client.c @ 13:c65d4f8dc8fd

use inverse border color
author paulo
date Sat, 12 Mar 2016 23:30:00 -0800
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 }