Using XFlush() instead of XSync() avoids a round trip to the X server

on each call to DevUpdate().  That speeds plotting when using XQuartz
on Macintosh and makes iplot useable there.
This commit is contained in:
Giles Atkinson 2025-01-07 14:04:05 +00:00 committed by Holger Vogt
parent 24425315f8
commit 8a9fd1eff2
1 changed files with 1 additions and 1 deletions

View File

@ -894,7 +894,7 @@ int
X11_Update(void)
{
if (X11_Open)
XSync(display, 0);
XFlush(display);
return 0;
}