equal
deleted
inserted
replaced
249 XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); |
249 XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); |
250 |
250 |
251 strcpy(stext, "dwm-"VERSION); |
251 strcpy(stext, "dwm-"VERSION); |
252 scan(); |
252 scan(); |
253 |
253 |
254 /* main event loop, reads status text from stdin as well */ |
254 /* main event loop, also reads status text from stdin */ |
255 while(running) { |
255 while(running) { |
256 FD_ZERO(&rd); |
256 FD_ZERO(&rd); |
257 if(readin) |
257 if(readin) |
258 FD_SET(STDIN_FILENO, &rd); |
258 FD_SET(STDIN_FILENO, &rd); |
259 FD_SET(ConnectionNumber(dpy), &rd); |
259 FD_SET(ConnectionNumber(dpy), &rd); |