Module Name: xsrc Committed By: mlelstv Date: Mon Apr 12 06:42:31 UTC 2021
Modified Files: xsrc/external/mit/ctwm/dist: add_window.c Log Message: Reapply font calculation fix. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/ctwm/dist/add_window.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/ctwm/dist/add_window.c diff -u xsrc/external/mit/ctwm/dist/add_window.c:1.3 xsrc/external/mit/ctwm/dist/add_window.c:1.4 --- xsrc/external/mit/ctwm/dist/add_window.c:1.3 Sun Apr 11 10:11:57 2021 +++ xsrc/external/mit/ctwm/dist/add_window.c Mon Apr 12 06:42:31 2021 @@ -1000,7 +1000,7 @@ AddWindow(Window w, AWType wtype, IconMg 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);