Removing redundant statuscmds logic when both statuscmd and dwmblocks patches are applied

This commit is contained in:
bakkeby
2020-05-05 19:50:28 +02:00
parent 75d5f1e0c5
commit 91291ceb9f
3 changed files with 11 additions and 9 deletions

View File

@ -1,6 +1,8 @@
static char rawstext[256];
static const char statusexport[] = "export BUTTON=-;";
#if !DWMBLOCKS_PATCH
static int statuscmdn;
#endif // DWMBLOCKS_PATCH
static int lastbutton;
void
@ -14,4 +16,4 @@ copyvalidchars(char *text, char *rawtext)
}
}
text[j] = '\0';
}
}