diff options
| author | bakkeby <[email protected]> | 2020-07-18 21:12:30 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-07-18 21:12:30 +0200 |
| commit | 6961418d636985d96c0c3248752e642b0ec4c84b (patch) | |
| tree | 57391183827f8377d4d0ef66092deb73e82b2a26 /patch/bar_status2d.c | |
| parent | 250fbbd2c77a36b1b7d22c252fb781cbab09ca79 (diff) | |
| download | dwm-flexipatch-6961418d636985d96c0c3248752e642b0ec4c84b.tar.gz dwm-flexipatch-6961418d636985d96c0c3248752e642b0ec4c84b.zip | |
Extrabar --> extrastatus
Diffstat (limited to 'patch/bar_status2d.c')
| -rw-r--r-- | patch/bar_status2d.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/patch/bar_status2d.c b/patch/bar_status2d.c index c4c7689..e746ac6 100644 --- a/patch/bar_status2d.c +++ b/patch/bar_status2d.c @@ -4,12 +4,28 @@ width_status2d(Bar *bar, BarWidthArg *a) return status2dtextlength(rawstext) + lrpad; } +#if BAR_EXTRASTATUS_PATCH +int +width_status2d_es(Bar *bar, BarWidthArg *a) +{ + return status2dtextlength(rawestext); +} +#endif // BAR_EXTRASTATUS_PATCH + int draw_status2d(Bar *bar, BarDrawArg *a) { return drawstatusbar(a->x, rawstext); } +#if BAR_EXTRASTATUS_PATCH +int +draw_status2d_es(Bar *bar, BarDrawArg *a) +{ + return drawstatusbar(a->x, rawestext); +} +#endif // BAR_EXTRASTATUS_PATCH + #if !BAR_STATUSCMD_PATCH int click_status2d(Bar *bar, Arg *arg, BarClickArg *a) |
