summaryrefslogtreecommitdiffhomepage
path: root/patch
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-05-05 19:50:28 +0200
committerbakkeby <[email protected]>2020-05-05 19:50:28 +0200
commit91291ceb9f1c06d9c560b124f42dd4b3b68190a9 (patch)
tree8f41cd83429bea5271e4d1ce58b73160738ffc43 /patch
parent75d5f1e0c5140bb97ebb77db66462d7a86da9450 (diff)
downloaddwm-flexipatch-91291ceb9f1c06d9c560b124f42dd4b3b68190a9.tar.gz
dwm-flexipatch-91291ceb9f1c06d9c560b124f42dd4b3b68190a9.zip
Removing redundant statuscmds logic when both statuscmd and dwmblocks patches are applied
Diffstat (limited to 'patch')
-rw-r--r--patch/statuscmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/patch/statuscmd.c b/patch/statuscmd.c
index 2264451..9a7c938 100644
--- a/patch/statuscmd.c
+++ b/patch/statuscmd.c
@@ -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';
-} \ No newline at end of file
+}