Enable Drag Lock on touchpad


Is there any way to enable drag lock on the touchpad? I’d like to be able to lift my finger mid-drag for longer moves.

I attempted to fix this by following instructions from a few older entries. I created a file /etc/X11/xorg.conf.d/99-libinput.conf, and added this section:

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "TappingDragLock" "on"

Restarted, but no different. I also tried setting a Drag Lock meta button, but that wouldn’t work either.