diff --git a/src/libdraw/x11-event.c b/src/libdraw/x11-event.c index 8512acc1..2ab475f2 100644 --- a/src/libdraw/x11-event.c +++ b/src/libdraw/x11-event.c @@ -4,10 +4,17 @@ #include #include #include - #include #include "x11-memdraw.h" +/* + * Should change this to support etimer and estartfn again. + * The main eread() would prepare a select mask from the keys + * and then call select() to wait for input. Then it would read an + * event from the readied fd and return it. Use XCheckWindowEvent + * to poll the X connection. + */ + ulong event(Event *e) {