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.
This commit is contained in:
Jehan 2025-11-26 16:37:34 +01:00
parent f757865e7d
commit f167385d7c

View file

@ -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,