Re: [dev] [dwm] [PATCH] Do not draw bar if it is hidden

From: Laslo Hunhold <dev_AT_frign.de>
Date: Tue, 7 Aug 2018 11:45:05 +0200

On Mon, 6 Aug 2018 16:42:19 +0300
Alexander Krotov <ilabdsf_AT_gmail.com> wrote:

Dear Alexander,

> With this patch the bar can at least be hidden before opening web
> pages that cause Xft errors.

I agree with the patch, but not because of the Xft bug. We should just
not execute code that is unnecessary.

Maybe we can layer this check out though and do a

if (m->showbar) {
        drawbar(...)
}

What do you guys think?

With best regards

Laslo

-- 
Laslo Hunhold <dev_AT_frign.de>
Received on Tue Aug 07 2018 - 11:45:05 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 07 2018 - 11:48:07 CEST