Upgrading statuscmd patch.
The original statuscmd patch has been renamed to statuscmd-nosignal to separate the logic from the dwmblocks integration that involves signals. I assume as the latter has become more popular it has replaced the statuscmd in name.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#if !BAR_DWMBLOCKS_PATCH
|
||||
static const char statusexport[] = "export BUTTON=-;";
|
||||
static int statuscmdn;
|
||||
static int lastbutton;
|
||||
static char lastbutton[] = "-";
|
||||
#endif // BAR_DWMBLOCKS_PATCH
|
||||
|
||||
int
|
||||
@@ -49,7 +49,7 @@ click_statuscmd_text(Arg *arg, int rel_x, char *text)
|
||||
if (x >= rel_x)
|
||||
break;
|
||||
if (ch <= LENGTH(statuscmds))
|
||||
statuscmdn = ch - 1;
|
||||
statuscmdn = ch;
|
||||
#endif // BAR_DWMBLOCKS_PATCH
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user