--- rxvt-unicode/src/iom.h 2006/01/19 09:47:15 1.25 +++ rxvt-unicode/src/iom.h 2006/01/19 20:30:36 1.27 @@ -1,6 +1,6 @@ /* iom.h -- generic I/O multiplexer - Copyright (C) 2003, 2004 Marc Lehmann + Copyright (C) 2003-2006 Marc Lehmann This file is part of GVPE. @@ -117,6 +117,8 @@ struct watcher { int active; /* 0 == inactive, else index into respective vector */ + bool is_active () { return active; } + watcher () : active (0) { } };