Commit Diff


commit - e8b6ce11da23c3915fe0f71bfdec41d3564250e4
commit + fc7c0c592a64e56fd0c4c68a09e75bfeca9e04e5
blob - 8512acc15080169d8e26bb30349956a74228c631
blob + 2ab475f240cf2cfd9d039bdba98c4de38f5a70af
--- src/libdraw/x11-event.c
+++ src/libdraw/x11-event.c
@@ -4,10 +4,17 @@
 #include <draw.h>
 #include <cursor.h>
 #include <event.h>
-
 #include <memdraw.h>
 #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)
 {