mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-06-20 23:12:44 +00:00
Update toggle_constraints
+8
-4
@@ -1,7 +1,7 @@
|
|||||||
## Description
|
### Description
|
||||||
Adds a function called togglepointerconstraints to turn pointer constraint enforcement on and off with a keybind.
|
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.
|
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:
|
Example:
|
||||||
@@ -9,5 +9,9 @@ Example:
|
|||||||
{ MODKEY, XKB_KEY_c, togglepointerconstraints, {0}},
|
{ MODKEY, XKB_KEY_c, togglepointerconstraints, {0}},
|
||||||
```
|
```
|
||||||
|
|
||||||
## Download
|
### Download
|
||||||
[Git](https://codeberg.org/dwl/dwl-patches/raw/branch/main/toggle_constraints/toggle_constraints)
|
[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)
|
||||||
Reference in New Issue
Block a user