changeset 713 | ef2c267884f3 |
parent 712 | b288b57d81f8 |
child 714 | 7034ee0f48d6 |
712:b288b57d81f8 | 713:ef2c267884f3 |
---|---|
79 |
79 |
80 void |
80 void |
81 focus(Client *c) { |
81 focus(Client *c) { |
82 if(c && !isvisible(c)) |
82 if(c && !isvisible(c)) |
83 return; |
83 return; |
84 |
|
85 if(sel && sel != c) { |
84 if(sel && sel != c) { |
86 grabbuttons(sel, False); |
85 grabbuttons(sel, False); |
87 XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); |
86 XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); |
88 } |
87 } |
89 sel = c; |
88 sel = c; |