If anyone besides me is having problems with the rats redrawing too slow in the lesstif gui, here's a patch wot fixes it. (pcb mailing list is read only)
---------------------------------------------------------------------------------------------------------
From e78cf0b0712cf2f58b4b920893c43b4feafead11 Mon Sep 17 00:00:00 2001 From: Johann Klammer Date: Thu, 24 Nov 2016 01:01:30 +0100 Subject: [PATCH] fixes nasty lags when drawing rats in the lesstif gui..
--- src/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/draw.c b/src/draw.c index 00966af..b510fca 100644
--- a/src/draw.c
+++ b/src/draw.c @@ -929,7 +929,7 @@ DrawRats (const BoxType *drawn_area) * XXX gtk only allows negative drawing. * XXX using the mask here is to get rat transparency */- int can_mask = strcmp(gui->name, "lesstif") == 0;
- int can_mask = 0;//strcmp(gui->name, "lesstif") == 0; if (can_mask) gui->graphics->use_mask (HID_MASK_CLEAR);
--
2.1.4