status2d: hide click_status2d if dwmblocks is used

This commit is contained in:
bakkeby
2020-07-15 17:15:35 +02:00
parent 06c4122e07
commit ad09397ad9
2 changed files with 4 additions and 0 deletions

View File

@ -10,11 +10,13 @@ draw_status2d(Monitor *m, BarDrawArg *a)
return drawstatusbar(m, a->x, a->w, rawstext);
}
#if !BAR_DWMBLOCKS_PATCH
int
click_status2d(Monitor *m, Arg *arg, BarClickArg *a)
{
return ClkStatusText;
}
#endif // BAR_DWMBLOCKS_PATCH
int
drawstatusbar(Monitor *m, int x, int ow, char* stext)