libdraw: add visibleclicks mode
R=rsc http://codereview.appspot.com/6501137
This commit is contained in:
parent
6f568da64e
commit
54bebe6a69
3 changed files with 54 additions and 2 deletions
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
typedef struct Slave Slave;
|
||||
typedef struct Ebuf Ebuf;
|
||||
extern Mouse _drawmouse;
|
||||
|
||||
struct Slave
|
||||
{
|
||||
|
|
@ -331,6 +332,7 @@ extract(int canblock)
|
|||
if(finishrpc(eslave[i].rpc, &w)){
|
||||
eslave[i].rpc = nil;
|
||||
eb = newebuf(&eslave[i], sizeof(Mouse));
|
||||
_drawmouse = w.mouse;
|
||||
eb->u.mouse = w.mouse;
|
||||
if(w.resized)
|
||||
eresized(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue