keyboard_arrow_up

Disable Drag Lock DWL

expand_circle_right

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;
Categories   •  Tech  •  Linux
Tags   •  Wayland  •  Dwl  •  Window Manager