main.c
changeset 293 093744cc5353
parent 292 4aa632b6ba66
child 295 7565875d07d3
equal deleted inserted replaced
292:4aa632b6ba66 293:093744cc5353
   289 					stext[strlen(stext) - 1] = 0;
   289 					stext[strlen(stext) - 1] = 0;
   290 				else 
   290 				else 
   291 					strcpy(stext, "broken pipe");
   291 					strcpy(stext, "broken pipe");
   292 				drawstatus();
   292 				drawstatus();
   293 			}
   293 			}
   294 			if(FD_ISSET(xfd, &rd))
       
   295 				procevent();
       
   296 		}
   294 		}
       
   295 		procevent();
   297 	}
   296 	}
   298 	cleanup();
   297 	cleanup();
   299 	XCloseDisplay(dpy);
   298 	XCloseDisplay(dpy);
   300 
   299 
   301 	return 0;
   300 	return 0;