dotfiles/dwl/dwl-patches/patches/toggle_constraints
2025-08-10 11:30:42 +03:30
..
README.md suicide 2025-08-10 11:30:42 +03:30
toggle_constraints.patch suicide 2025-08-10 11:30:42 +03:30

Description

Adds a function called togglepointerconstraints to turn pointer constraint enforcement on and off with a keybind.

Usage

Add a binding for the togglepointerconstraints function in the keys[] array of config.h. The function does not take any argument. Pointer constraints default to enabled, and can be toggled on and off with the function from there.

Example:

{ MODKEY, XKB_KEY_c, togglepointerconstraints, {0}},

Download

Authors