From c79eb348a2110d8b32ffef83c5a3c7d77b46dd43 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 30 Dec 2024 13:47:01 +0100 Subject: [PATCH] iplot on macOS is totally slow, thus unusable, due to problems with repeated calls to XSync. Skipping them still allows iplotting. --- src/frontend/plotting/graf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/plotting/graf.c b/src/frontend/plotting/graf.c index 86bec65b5..058ea4f64 100644 --- a/src/frontend/plotting/graf.c +++ b/src/frontend/plotting/graf.c @@ -1123,7 +1123,11 @@ static int iplot(struct plot *pl, struct dbcomm *db) } } } +/* iplot on macOS is totally slow, thus unusable, due to problems with + repeated calls to XSync. Skipping them still allows iplotting. */ +#if !defined(__APPLE__) || !defined(__MACH__) DevUpdate(); +#endif return inited; }