From b60ce525a506a7996c04665f3e8987369c2a8258 Mon Sep 17 00:00:00 2001 From: thanatos Date: Wed, 27 Mar 2024 01:59:33 +0000 Subject: [PATCH] Created page for toggle_constraings --- toggle_constraints.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 toggle_constraints.md diff --git a/toggle_constraints.md b/toggle_constraints.md new file mode 100644 index 0000000..0a8cf6e --- /dev/null +++ b/toggle_constraints.md @@ -0,0 +1,13 @@ +## 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 +[Git](https://codeberg.org/dwl/dwl-patches/raw/branch/main/toggle_constraints/toggle_constraints) \ No newline at end of file