diff options
| author | bakkeby <[email protected]> | 2020-09-18 10:53:07 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-09-18 10:53:07 +0200 |
| commit | 00320fb842703d6ee219aa2ed1f71f4d0247ed93 (patch) | |
| tree | e233b8c900a71713ef55705a0848ba0bcefaa444 /patch/nomodbuttons.c | |
| parent | 8aa21b03114a62f4113d0b9410649ca13692886e (diff) | |
| download | dwm-flexipatch-00320fb842703d6ee219aa2ed1f71f4d0247ed93.tar.gz dwm-flexipatch-00320fb842703d6ee219aa2ed1f71f4d0247ed93.zip | |
Adding nomodbuttons patch
Diffstat (limited to 'patch/nomodbuttons.c')
| -rw-r--r-- | patch/nomodbuttons.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/patch/nomodbuttons.c b/patch/nomodbuttons.c new file mode 100644 index 0000000..c4e082e --- /dev/null +++ b/patch/nomodbuttons.c @@ -0,0 +1,7 @@ +void +togglenomodbuttons(const Arg *arg) +{ + nomodbuttons = !nomodbuttons; + if (selmon->sel) + grabbuttons(selmon->sel, 1); +}
\ No newline at end of file |
