Don't care about return code for wait()
This commit is contained in:
parent
6f17f0e5f7
commit
a3a0dd32ba
@ -529,7 +529,6 @@ send_client_event(long data[5], char *atom_name)
|
||||
void
|
||||
getevent(XEvent ev)
|
||||
{
|
||||
int st;
|
||||
|
||||
switch(ev.type)
|
||||
{
|
||||
@ -563,7 +562,7 @@ getevent(XEvent ev)
|
||||
break;
|
||||
}
|
||||
|
||||
wait(&st);
|
||||
wait((int[]){0});
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user