diff options
| author | Russ Cox <rsc@swtch.com> | 2020-01-11 06:10:14 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2020-01-13 16:46:14 -0500 |
| commit | 892b3c4687eacf6b090bb9a5196ce882e113c423 (patch) | |
| tree | 759c84ea734f8ffeb9e596680bd71d8a0cae1a77 /src/cmd/devdraw/devdraw.h | |
| parent | 2cb85891ba58a83263ef30dc9799d1fda9fb71af (diff) | |
devdraw: multiclient mode
Diffstat (limited to 'src/cmd/devdraw/devdraw.h')
| -rw-r--r-- | src/cmd/devdraw/devdraw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/devdraw/devdraw.h b/src/cmd/devdraw/devdraw.h index dd7fc8ba..06ce4f8a 100644 --- a/src/cmd/devdraw/devdraw.h +++ b/src/cmd/devdraw/devdraw.h @@ -54,6 +54,8 @@ struct Client uchar* mbuf; int nmbuf; + char* wsysid; + // drawlk protects the draw data structures. // It can be acquired by an RPC thread or a graphics thread // but must not be held on one thread while waiting for the other. @@ -219,3 +221,4 @@ int latin1(Rune*, int); int mouseswap(int); int parsewinsize(char*, Rectangle*, int*); +extern Client *client0; // set in single-client mode |