mouse(3): fix definition of Mousectl

This commit is contained in:
Russ Cox 2020-01-13 23:11:45 -05:00
parent 86bfd6075d
commit 125cfe1c0d

View file

@ -88,7 +88,7 @@ returns a structure through which one may access the mouse:
typedef struct Mousectl Mousectl;
struct Mousectl
{
Mouse;
Mouse m;
Channel *c; /* chan(Mouse)[16] */
Channel *resizec; /* chan(int)[2] */
@ -142,7 +142,9 @@ to reconnect to the window.
.I Readmouse
updates the
.B Mouse
structure held in the
structure
.B m
held in the
.BR Mousectl ,
blocking if the state has not changed since the last
.I readmouse