mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
19 lines
338 B
C
19 lines
338 B
C
#if !DWMBLOCKS_PATCH
|
|
static const char statusexport[] = "export BUTTON=-;";
|
|
static int statuscmdn;
|
|
static int lastbutton;
|
|
#endif // DWMBLOCKS_PATCH
|
|
|
|
void
|
|
copyvalidchars(char *text, char *rawtext)
|
|
{
|
|
int i = -1, j = 0;
|
|
|
|
while (rawtext[++i]) {
|
|
if ((unsigned char)rawtext[i] >= ' ') {
|
|
text[j++] = rawtext[i];
|
|
}
|
|
}
|
|
text[j] = '\0';
|
|
}
|