comparison draw.c @ 239:e5390f8e06b9

applied sumik's multihead patch
author Anselm R.Garbe <arg@10ksloc.org>
date Thu, 10 Aug 2006 11:26:32 +0200
parents 7f8f7f14e9cd
children 32dc3acfffc0
comparison
equal deleted inserted replaced
238:969fb6be25e1 239:e5390f8e06b9
136 drawtitle(Client *c) 136 drawtitle(Client *c)
137 { 137 {
138 int i; 138 int i;
139 Bool istile = arrange == dotile; 139 Bool istile = arrange == dotile;
140 140
141 if(c == sel) { 141 if(c == sel && issel) {
142 drawstatus(); 142 drawstatus();
143 XUnmapWindow(dpy, c->title); 143 XUnmapWindow(dpy, c->title);
144 XSetWindowBorder(dpy, c->win, dc.fg); 144 XSetWindowBorder(dpy, c->win, dc.fg);
145 return; 145 return;
146 } 146 }