1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-14 08:01:11 +01:00
slackware-current/source/x/x11/patch/xdm/xdm-greeter.patch

28 lines
1.1 KiB
Diff
Raw Normal View History

Wed Jul 10 17:48:01 UTC 2024 a/grub-2.12-x86_64-11.txz: Rebuilt. Build using --with-dejavufont=/usr/share/fonts/TTF/DejaVuSans.ttf so that the starfield theme is included. Thanks to opty. d/mercurial-6.8-x86_64-1.txz: Upgraded. d/python-setuptools-70.3.0-x86_64-1.txz: Upgraded. d/rinutils-0.10.3-x86_64-1.txz: Upgraded. d/ruby-3.3.4-x86_64-1.txz: Upgraded. l/glib2-2.80.4-x86_64-1.txz: Upgraded. l/mozjs115-115.13.0esr-x86_64-1.txz: Upgraded. l/nodejs-20.15.1-x86_64-1.txz: Upgraded. l/qt6-6.7.2_20240610_3f005f1e-x86_64-2.txz: Rebuilt. [PATCH] Client: Ensure that guessed popup parent has a shell surface. Thanks to ctrlaltca. Add another patch to fix race conditions building with ninja. n/bluez-5.77-x86_64-1.txz: Upgraded. n/getmail-6.19.03-x86_64-1.txz: Upgraded. x/xdm-1.1.16-x86_64-2.txz: Rebuilt. Patched to fix an issue drawing/erasing text in the login dialog. Thanks to GazL. x/xorg-server-xwayland-24.1.1-x86_64-1.txz: Upgraded. xap/mozilla-firefox-128.0esr-x86_64-1.txz: Upgraded. This update contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/128.0esr/releasenotes/ https://www.mozilla.org/security/advisories/mfsa2024-29/ https://www.cve.org/CVERecord?id=CVE-2024-6606 https://www.cve.org/CVERecord?id=CVE-2024-6607 https://www.cve.org/CVERecord?id=CVE-2024-6608 https://www.cve.org/CVERecord?id=CVE-2024-6609 https://www.cve.org/CVERecord?id=CVE-2024-6610 https://www.cve.org/CVERecord?id=CVE-2024-6600 https://www.cve.org/CVERecord?id=CVE-2024-6601 https://www.cve.org/CVERecord?id=CVE-2024-6602 https://www.cve.org/CVERecord?id=CVE-2024-6603 https://www.cve.org/CVERecord?id=CVE-2024-6611 https://www.cve.org/CVERecord?id=CVE-2024-6612 https://www.cve.org/CVERecord?id=CVE-2024-6613 https://www.cve.org/CVERecord?id=CVE-2024-6614 https://www.cve.org/CVERecord?id=CVE-2024-6604 https://www.cve.org/CVERecord?id=CVE-2024-6615 (* Security fix *)
2024-07-10 19:48:01 +02:00
# The existing calculation of Y_INC make no allowance for the size of the
# inner frame of the input field. When the input field text height + the
# inner frame size exceed the height of the prompt text this results in
# misalignment and artefacts being left behind when erasing characters
# with tails (such as 'j').
#
# The following resource settings can be used to reproduce the issue:
# xlogin*face: Helvetica-30
# xlogin*promptFace: Helvetica-16:bold
# xlogin*innerFramesWidth: 8
# This patch resolves both issues.
#
# Author: gary.langshaw@gmail.com
diff -Nurp xdm-1.1.16.orig/greeter/Login.c xdm-1.1.16/greeter/Login.c
--- xdm-1.1.16.orig/greeter/Login.c 2024-04-05 01:04:33.000000000 +0100
+++ xdm-1.1.16/greeter/Login.c 2024-06-11 15:39:20.596773706 +0100
@@ -253,7 +253,7 @@ static XtResource resources[] = {
#define FAIL_X_INC(w) F_MAX_WIDTH(fail)
#define FAIL_Y_INC(w) (F_ASCENT(fail) + F_DESCENT(fail))
-#define Y_INC(w) max (TEXT_Y_INC(w), PROMPT_Y_INC(w))
+#define Y_INC(w) max ((2 * (w)->login.inframeswidth) + TEXT_Y_INC(w), PROMPT_Y_INC(w))
#define PROMPT_TEXT(w,n) ((w)->login.prompts[n].promptText)