From b8dc070d075b096ed93ca096ec87bf6f20e3e571 Mon Sep 17 00:00:00 2001 From: Ray Chason Date: Tue, 18 Aug 2026 09:51:33 -0400 Subject: [PATCH] Fix right side of border rectangle --- win/X11/winlabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/X11/winlabel.c b/win/X11/winlabel.c index 2c76c8f38..e7a673a7a 100644 --- a/win/X11/winlabel.c +++ b/win/X11/winlabel.c @@ -418,7 +418,7 @@ update_label(Widget w, WidgetData *data) XftDrawRect(draw, &fgcolor, 0, 0, width, 1); XftDrawRect(draw, &fgcolor, 0, height-1, width, 1); XftDrawRect(draw, &fgcolor, 0, 0, 1, height); - XftDrawRect(draw, &fgcolor, 0, height-1, 1, height); + XftDrawRect(draw, &fgcolor, width-1, 0, 1, height); #else XDrawRectangle(display, new_pixmap, ggc, 0, 0, width-1, height-1); #endif