Update toggle_constraints

thanatos 2024-03-27 03:11:41 +00:00
parent 8e441e96a0
commit 83e73fee6d

@ -1,7 +1,7 @@
## Description
### Description
Adds a function called togglepointerconstraints to turn pointer constraint enforcement on and off with a keybind.
## Usage
### 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:
@ -9,5 +9,9 @@ Example:
{ MODKEY, XKB_KEY_c, togglepointerconstraints, {0}},
```
## Download
[Git](https://codeberg.org/dwl/dwl-patches/raw/branch/main/toggle_constraints/toggle_constraints)
### Download
[Git branch](https://codeberg.org/thanatos/dwl/src/branch/toggle_constraints)
[2024-03-26](https://codeberg.org/dwl/dwl-patches/raw/branch/main/toggle_constraints/toggle_constraints)
### Authors
[thanatos](https://codeberg.org/thanatos)