diff options
author | rsc <devnull@localhost> | 2005-01-18 05:43:41 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-18 05:43:41 +0000 |
commit | fc7c0c592a64e56fd0c4c68a09e75bfeca9e04e5 (patch) | |
tree | aa987d447beaefd5d0916fdf357bdd2ac3703b06 /src/libdraw | |
parent | e8b6ce11da23c3915fe0f71bfdec41d3564250e4 (diff) | |
download | plan9port-fc7c0c592a64e56fd0c4c68a09e75bfeca9e04e5.tar.gz plan9port-fc7c0c592a64e56fd0c4c68a09e75bfeca9e04e5.tar.bz2 plan9port-fc7c0c592a64e56fd0c4c68a09e75bfeca9e04e5.zip |
better comment
Diffstat (limited to 'src/libdraw')
-rw-r--r-- | src/libdraw/x11-event.c | 9 |
1 files changed, 8 insertions, 1 deletions
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 <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) { |