diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libdraw/drawclient.c | 4 | ||||
-rw-r--r-- | src/libdraw/mouse.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libdraw/drawclient.c b/src/libdraw/drawclient.c index 93c56235..5e9c950d 100644 --- a/src/libdraw/drawclient.c +++ b/src/libdraw/drawclient.c @@ -9,7 +9,7 @@ #include <drawfcall.h> #include <mux.h> -int chattydrawclient; +int chattydrawclient = 0; static int drawgettag(Mux *mux, void *vmsg); static void* drawrecv(Mux *mux); @@ -43,7 +43,7 @@ _displayconnect(Display *d) * Pass it along only so that the various * devdraws in psu -a can be distinguished. */ - execl("devdraw", "devdraw", argv0, nil); + execl("devdraw", argv0, argv0, nil); sysfatal("exec devdraw: %r"); } close(p[1]); diff --git a/src/libdraw/mouse.c b/src/libdraw/mouse.c index 5c6d0970..ad1a069b 100644 --- a/src/libdraw/mouse.c +++ b/src/libdraw/mouse.c @@ -53,7 +53,7 @@ _ioproc(void *arg) resized = 0; for(;;){ if(_displayrdmouse(mc->display, &m, &resized) < 0) - threadexits("read error"); + threadexitsall("mouse read error"); if(resized) send(mc->resizec, &one); send(mc->c, &m); |