bugfix
yes you need this xflush before sleeping into select...
This commit is contained in:
@@ -118,6 +118,8 @@ static void *plot_thread(void *_p)
|
|||||||
0, 0, p->width, p->height, 0, 0);
|
0, 0, p->width, p->height, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XFlush(p->d);
|
||||||
|
|
||||||
FD_ZERO(&rset);
|
FD_ZERO(&rset);
|
||||||
FD_SET(p->timer_pipe[0], &rset);
|
FD_SET(p->timer_pipe[0], &rset);
|
||||||
FD_SET(xfd, &rset);
|
FD_SET(xfd, &rset);
|
||||||
|
|||||||
Reference in New Issue
Block a user