diff options
Diffstat (limited to 'dwm/patch/nomodbuttons.c')
| -rwxr-xr-x | dwm/patch/nomodbuttons.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dwm/patch/nomodbuttons.c b/dwm/patch/nomodbuttons.c new file mode 100755 index 0000000..9c196de --- /dev/null +++ b/dwm/patch/nomodbuttons.c @@ -0,0 +1,8 @@ +void +togglenomodbuttons(const Arg *arg) +{ + nomodbuttons = !nomodbuttons; + if (selmon->sel) + grabbuttons(selmon->sel, 1); +} + |
