Disable Drag Lock DWL

Disabling drag_lock function in dwl is recommended if you are experiencing half a second delay on releasing mouse button simulated by touchpad.

For example, it takes half a second for cursor to reset its shape after doing any drag action like moving or resizing window using touchpad.

To disable that behaviour, it is easy. Just disable static const int drag_lock function by setting its value to 0 in config.h file.

~
/* Trackpad */
static const int tap_to_click = 1;
static const int tap_and_drag = 1;
/* to disable the following drag_lock function, just set its value to 0. Default is 1. */
static const int drag_lock = 0;
static const int natural_scrolling = 0;
static const int disable_while_typing = 1;
static const int left_handed = 0;
static const int middle_button_emulation = 0;

What Package Provides What Command

Sometime we just want to know which package is a command provided by? For instance, which package provides pactl command. Then use pacman in Arch Linux.

~
[user@hostname ~]$ pacman -Qo pactl
/usr/bin/pactl is owned by libpulse 17.0-3

And for it path,

~
[user@hostname ~]$ pacman -F pactl
extra/libpulse 16.1-6 [installed: 17.0-3]
    usr/bin/pactl
    usr/share/bash-completion/completions/pactl

Arch Wiki pacman and Pacman Manual man page.
Arch Wiki Tips and Tricks of pacman
Arch Forum Which package provides the executable