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