mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
status2d: hide click_status2d if dwmblocks is used
This commit is contained in:
parent
06c4122e07
commit
ad09397ad9
@ -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)
|
||||
|
@ -1,5 +1,7 @@
|
||||
static int width_status2d(Monitor *m, BarWidthArg *a);
|
||||
static int draw_status2d(Monitor *m, BarDrawArg *a);
|
||||
#if !BAR_DWMBLOCKS_PATCH
|
||||
static int click_status2d(Monitor *m, Arg *arg, BarClickArg *a);
|
||||
#endif // BAR_DWMBLOCKS_PATCH
|
||||
static int drawstatusbar(Monitor *m, int x, int w, char* text);
|
||||
static int status2dtextlength(char* stext);
|
Loading…
x
Reference in New Issue
Block a user