From f167385d7cd34bc210941df9f717fe9ec4751b52 Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 26 Nov 2025 16:37:34 +0100 Subject: [PATCH] app: don't ignore events anymore. I can see why this was added when we used to re-process the graph during motion (it was already slow and would have just been so much slower), but if we only process at the end, it is simply counter-productive not to store all motion events. It doesn't actually make the finale processing (on release) slower, at least not obviously, and we get more data for more accurate (hopefully) selection. --- app/tools/gimppaintselecttool.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/tools/gimppaintselecttool.c b/app/tools/gimppaintselecttool.c index 095ac3738f..5cef39808a 100644 --- a/app/tools/gimppaintselecttool.c +++ b/app/tools/gimppaintselecttool.c @@ -515,16 +515,8 @@ gimp_paint_select_tool_motion (GimpTool *tool, GimpPaintSelectTool *ps_tool = GIMP_PAINT_SELECT_TOOL (tool); GimpDrawTool *draw_tool = GIMP_DRAW_TOOL (tool); - static guint32 last_time = 0; - GIMP_TOOL_CLASS (parent_class)->motion (tool, coords, time, state, display); - /* don't let the events come in too fast, ignore below a delay of 100 ms */ - if (time - last_time < 100) - return; - - last_time = time; - if (state & GDK_BUTTON1_MASK) { gfloat distance = euclidean_distance (coords->x,