Mercurial > dwm-meillo
comparison main.c @ 242:cd15de32e173 0.8
prepared 0.8
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Thu, 10 Aug 2006 15:19:25 +0200 |
parents | 7f8f7f14e9cd |
children | d6fd632d861c |
comparison
equal
deleted
inserted
replaced
241:16f956d8f899 | 242:cd15de32e173 |
---|---|
251 XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); | 251 XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); |
252 | 252 |
253 scan(); | 253 scan(); |
254 | 254 |
255 /* main event loop, also reads status text from stdin */ | 255 /* main event loop, also reads status text from stdin */ |
256 XSync(dpy, False); | |
256 while(running) { | 257 while(running) { |
257 FD_ZERO(&rd); | 258 FD_ZERO(&rd); |
258 if(readin) | 259 if(readin) |
259 FD_SET(STDIN_FILENO, &rd); | 260 FD_SET(STDIN_FILENO, &rd); |
260 FD_SET(ConnectionNumber(dpy), &rd); | 261 FD_SET(ConnectionNumber(dpy), &rd); |