shod

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit dff70181b631815648d85d2929bac80965a877c0
parent 5be2b5ed436ec2b39fc31f4186aea7824b7b0deb
Author: seninha <lucas@seninha.org>
Date:   Tue, 13 Sep 2022 06:59:07 -0300

fix menu titlebar decoration

Diffstat:
Mxcontainer.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/xcontainer.c b/xcontainer.c @@ -1925,8 +1925,10 @@ menudecorate(struct Menu *menu, int titlepressed) menu->tw = tw; menu->th = th; - drawbackground(menu->pix, 0, 0, menu->tw, menu->th, FOCUSED); + drawbackground(menu->pix, 0, 0, menu->w, menu->h, FOCUSED); drawborders(menu->pix, menu->w, menu->h, FOCUSED); + + drawbackground(menu->pixtitlebar, 0, 0, menu->tw, menu->th, FOCUSED); drawshadow(menu->pixtitlebar, 0, 0, menu->tw, config.titlewidth, FOCUSED, titlepressed); /* write menu title */ if (menu->name != NULL)