Adding alternativetags patch

This commit is contained in:
bakkeby
2019-09-09 23:27:10 +02:00
parent 1552bf22c0
commit 4a17b880ad
8 changed files with 46 additions and 1 deletions

6
patch/alternativetags.c Normal file
View File

@@ -0,0 +1,6 @@
void
togglealttag()
{
selmon->alttag = !selmon->alttag;
drawbar(selmon);
}

1
patch/alternativetags.h Normal file
View File

@@ -0,0 +1 @@
static void togglealttag();

View File

@@ -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

View File

@@ -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