comparison event.c @ 647:fd2ea58b0b94

renamed drawtitle into drawclient
author Anselm R. Garbe <arg@suckless.org>
date Thu, 04 Jan 2007 14:17:25 +0100
parents 1ed8c40dde36
children 7672a1041218
comparison
equal deleted inserted replaced
646:665e78838cbb 647:fd2ea58b0b94
234 234
235 if(ev->count == 0) { 235 if(ev->count == 0) {
236 if(barwin == ev->window) 236 if(barwin == ev->window)
237 drawstatus(); 237 drawstatus();
238 else if((c = getctitle(ev->window))) 238 else if((c = getctitle(ev->window)))
239 drawtitle(c); 239 drawclient(c);
240 } 240 }
241 } 241 }
242 242
243 static void 243 static void
244 keypress(XEvent *e) { 244 keypress(XEvent *e) {
318 break; 318 break;
319 } 319 }
320 if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { 320 if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
321 updatetitle(c); 321 updatetitle(c);
322 resizetitle(c); 322 resizetitle(c);
323 drawtitle(c); 323 drawclient(c);
324 } 324 }
325 } 325 }
326 } 326 }
327 327
328 static void 328 static void