dwl-patches/patches/toggle_constraints
A Frederick Christensen 9c5d5d85f3
dwl-patches overhaul
Eliminated wiki.
Individual patches have a README.md explanation in their own subdirectory.
Simplified submission of new patches and maintenance of existing patches.
Instructions page (README.md autodisplayed) is now at https://codeberg.org/dwl/dwl-patches/
2024-05-09 23:12:04 -05:00
..
2024-05-09 23:12:04 -05:00
2024-05-09 23:12:04 -05:00

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