--- rxvt-unicode/src/iom.h 2005/11/29 19:22:48 1.23 +++ rxvt-unicode/src/iom.h 2006/01/09 22:41:41 1.24 @@ -126,7 +126,7 @@ }; #if IOM_IO -enum { EVENT_READ = 1, EVENT_WRITE = 2 }; +enum { EVENT_UNDEF = -1, EVENT_NONE = 0, EVENT_READ = 1, EVENT_WRITE = 2 }; struct io_watcher : watcher, callback2 { int fd;