Re: [hackers] [dwm][PATCH] fix status bar width in buttonpress

From: Abdullah <abdullah_AT_abdullah.today>
Date: Fri, 5 Jul 2019 08:38:28 +0500

So what this patch does?

On 27/06, ornx wrote:
> ---
> dwm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
> diff --git a/dwm.c b/dwm.c
> index 4465af1..60c2a24 100644
> --- a/dwm.c
> +++ b/dwm.c
> _AT_@ -439,7 +439,7 @@ buttonpress(XEvent *e)
> arg.ui = 1 << i;
> } else if (ev->x < x + blw)
> click = ClkLtSymbol;
> - else if (ev->x > selmon->ww - TEXTW(stext))
> + else if (ev->x > selmon->ww - TEXTW(stext) + lrpad - 2)
> click = ClkStatusText;
> else
> click = ClkWinTitle;
> --
> 2.20.1
>


A K

C20F 2707 3025 2569 BAC5
534B 7820 6670 C19D 1580

Received on Fri Jul 05 2019 - 05:38:28 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 05 2019 - 06:24:23 CEST