aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-01-13 23:11:45 -0500
committerRuss Cox <rsc@swtch.com>2020-01-13 23:17:39 -0500
commit125cfe1c0d29541135eac6da676ed9b48930e38b (patch)
tree18a1343d0b49bc4a601648ef784bbef27a34ad5e
parent86bfd6075d7e7bf1f68097f11dbef94439e1f605 (diff)
downloadplan9port-125cfe1c0d29541135eac6da676ed9b48930e38b.tar.gz
plan9port-125cfe1c0d29541135eac6da676ed9b48930e38b.tar.bz2
plan9port-125cfe1c0d29541135eac6da676ed9b48930e38b.zip
mouse(3): fix definition of Mousectl
-rw-r--r--man/man3/mouse.310
1 files changed, 6 insertions, 4 deletions
diff --git a/man/man3/mouse.3 b/man/man3/mouse.3
index 216c72b0..b5061fd9 100644
--- a/man/man3/mouse.3
+++ b/man/man3/mouse.3
@@ -88,15 +88,15 @@ returns a structure through which one may access the mouse:
typedef struct Mousectl Mousectl;
struct Mousectl
{
- Mouse;
- Channel *c; /* chan(Mouse)[16] */
+ Mouse m;
+ Channel *c; /* chan(Mouse)[16] */
Channel *resizec; /* chan(int)[2] */
char *file;
int mfd; /* to mouse file */
int cfd; /* to cursor file */
int pid; /* of slave proc */
- Image* image; /* of associated window/display */
+ Image* image; /* of associated window/display */
};
.EE
.PP
@@ -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