Tested using last master code on Windows
To reproduce:
- Open 2D Template
- Draw a Primitive curve
- Try to use the handler points.
The problem was produced by commit 52af3b20d45ea525a0ce66b2613ac132c9032a3f
Cleanup: cursor motion events now have value set to KM_NOTHING
The problem is the event->val is set to KM_NOTHING, but the primitive need to check that the mouse is moving and also that mouse button is pressed.
The line with the problem is 1484 in gpencil_primitive.c
if ((event->val == KM_PRESS) && tgpi->sel_cp != SELECT_NONE) {