~foura/libacme

521670692b07cbadbf6a88964839d76531ba9afd — james palmer 6 months ago 885b467
expose aeventnext, it's useful to be able to write a custom aeventlisten
2 files changed, 2 insertions(+), 1 deletions(-)

M acme.h
M event.c
M acme.h => acme.h +1 -0
@@ 52,4 52,5 @@ void	awinsettag(AWin *, char *);

Channel *	aeventlisten(AWin *);
void		aeventstop(AWin *);
int			aeventnext(Biobuf *bio, AEvent *);
void		aeventsend(AWin *, AEvent *);

M event.c => event.c +1 -1
@@ 39,7 39,7 @@ aeventgetdata(Biobuf *bio, AEvent *ev)
	return len;
}

static int
int
aeventnext(Biobuf *bio, AEvent *ev)
{
	int flags;