diff options
| author | bakkeby <[email protected]> | 2019-09-09 23:27:10 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2019-09-09 23:27:10 +0200 |
| commit | 4a17b880ad2cc4ae9098809ca3ccf4d439127450 (patch) | |
| tree | 36b7f8f8f29f1b032e013bc6a28e6647f8f31248 /patch | |
| parent | 1552bf22c040e623a14edf6bae8ffb34bb60eb18 (diff) | |
| download | dwm-flexipatch-4a17b880ad2cc4ae9098809ca3ccf4d439127450.tar.gz dwm-flexipatch-4a17b880ad2cc4ae9098809ca3ccf4d439127450.zip | |
Adding alternativetags patch
Diffstat (limited to 'patch')
| -rw-r--r-- | patch/alternativetags.c | 6 | ||||
| -rw-r--r-- | patch/alternativetags.h | 1 | ||||
| -rw-r--r-- | patch/include.c | 4 | ||||
| -rw-r--r-- | patch/include.h | 4 |
4 files changed, 15 insertions, 0 deletions
diff --git a/patch/alternativetags.c b/patch/alternativetags.c new file mode 100644 index 0000000..3c329bc --- /dev/null +++ b/patch/alternativetags.c @@ -0,0 +1,6 @@ +void +togglealttag() +{ + selmon->alttag = !selmon->alttag; + drawbar(selmon); +}
\ No newline at end of file diff --git a/patch/alternativetags.h b/patch/alternativetags.h new file mode 100644 index 0000000..2c130f3 --- /dev/null +++ b/patch/alternativetags.h @@ -0,0 +1 @@ +static void togglealttag();
\ No newline at end of file diff --git a/patch/include.c b/patch/include.c index 9987be0..04d66f4 100644 --- a/patch/include.c +++ b/patch/include.c @@ -4,6 +4,10 @@ #include "alpha.c" #endif +#if ALTERNATIVE_TAGS_PATCH +#include "alternativetags.c" +#endif + #if ATTACHABOVE_PATCH || ATTACHASIDE_PATCH || ATTACHBELOW_PATCH || ATTACHBOTTOM_PATCH #include "attachx.c" #endif diff --git a/patch/include.h b/patch/include.h index 7912b30..f76f6f1 100644 --- a/patch/include.h +++ b/patch/include.h @@ -4,6 +4,10 @@ #include "alpha.h" #endif +#if ALTERNATIVE_TAGS_PATCH +#include "alternativetags.h" +#endif + #if ATTACHABOVE_PATCH || ATTACHASIDE_PATCH || ATTACHBELOW_PATCH || ATTACHBOTTOM_PATCH #include "attachx.h" #endif |
