Shawn Betts <sabe...@gmail.com> writes:
> Many root level bindings that you expected to be cleared are stored in
> the *tile-group-root-map* and *group-root-map*. Those have to be
> cleared too. When you hit the prefix key stumpwm looks up the next
> keystroke in *root-map* and if no match is found then it checks
> *group-root-map* and if no match is found it looks in
> *tile-group-root-map* IF you're in a tiling group. It checks
> *float-group-root-map* if you're in a float group. Kind of
> complicated.

Thank you, the below seems to do the trick:

    (defun remove-all-keybindings ()
        (setf *root-map* (make-sparse-keymap))
        (setf *group-root-map* (make-sparse-keymap))
        (setf *tile-group-root-map* (make-sparse-keymap))
        (setf *float-group-root-map* (make-sparse-keymap))
        (sync-keys))

> -Shawn

Thanks Shawn!

--
Burton Samograd


_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to