Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/ctwm/dist Reapply font calculation fix.
details: https://anonhg.NetBSD.org/xsrc/rev/253761d1cb28
branches: trunk
changeset: 10669:253761d1cb28
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Mon Apr 12 06:42:31 2021 +0000
description:
Reapply font calculation fix.
diffstat:
external/mit/ctwm/dist/add_window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3fb3ba61de26 -r 253761d1cb28 external/mit/ctwm/dist/add_window.c
--- a/external/mit/ctwm/dist/add_window.c Sun Apr 11 11:00:29 2021 +0000
+++ b/external/mit/ctwm/dist/add_window.c Mon Apr 12 06:42:31 2021 +0000
@@ -1000,7 +1000,7 @@
tmp_win->name, namelen,
&ink_rect, &logical_rect);
width = SIZE_HINDENT + ink_rect.width;
- height = logical_rect.height + SIZE_VINDENT * 2;
+ height = Scr->SizeFont.height + SIZE_VINDENT * 2;
XmbTextExtents(Scr->SizeFont.font_set,
": ", 2, NULL, &logical_rect);
Home |
Main Index |
Thread Index |
Old Index