--- rxvt-unicode/src/iom.h 2006/01/19 11:56:00 1.26 +++ rxvt-unicode/src/iom.h 2006/01/19 20:30:36 1.27 @@ -117,6 +117,8 @@ struct watcher { int active; /* 0 == inactive, else index into respective vector */ + bool is_active () { return active; } + watcher () : active (0) { } };