equal
deleted
inserted
replaced
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); |