Mercurial > dwm-meillo
comparison main.c @ 61:db93644de522
small fix
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Fri, 14 Jul 2006 12:09:05 +0200 |
parents | 24f9c674d03f |
children | 46d44d185464 |
comparison
equal
deleted
inserted
replaced
60:24f9c674d03f | 61:db93644de522 |
---|---|
278 | 278 |
279 strcpy(stext, "dwm-"VERSION); | 279 strcpy(stext, "dwm-"VERSION); |
280 scan_wins(); | 280 scan_wins(); |
281 | 281 |
282 /* main event loop, reads status text from stdin as well */ | 282 /* main event loop, reads status text from stdin as well */ |
283 Mainloop: | |
283 while(running) { | 284 while(running) { |
284 Mainloop: | |
285 FD_ZERO(&rd); | 285 FD_ZERO(&rd); |
286 FD_SET(0, &rd); | 286 FD_SET(0, &rd); |
287 FD_SET(ConnectionNumber(dpy), &rd); | 287 FD_SET(ConnectionNumber(dpy), &rd); |
288 | 288 |
289 i = select(ConnectionNumber(dpy) + 1, &rd, 0, 0, 0); | 289 i = select(ConnectionNumber(dpy) + 1, &rd, 0, 0, 0); |