libdraw: die if display does
This commit is contained in:
parent
e113e0a4bb
commit
b65a69c192
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue