summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2021-11-24 08:54:37 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-11-24 11:55:58 +0100
commit8efee422e1915a000f7220e680e3165407171388 (patch)
treeb81670585ef094e6b4dd5a658b42f708c4f1b773 /lwlib
parent7e3c2b553fede9feeeb755dfeba875fece0c2f63 (diff)
downloademacs-8efee422e1915a000f7220e680e3165407171388.tar.gz
Re-enable the disabledForeground X resource.
* doc/emacs/xresources.texi (Lucid Resources): Document the resource. Also document the 'cursor' resource (bug#52052). * lwlib/xlwmenu.c (make_drawing_gcs): Re-enable the use of the disabledForeground resource. The use of this X resource was disabled without reason in commit ef93458b2f8 by overwriting its value with the value of the foreground resource.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/xlwmenu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 5f8832bb362..a0a10d13db5 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -1657,7 +1657,6 @@ make_drawing_gcs (XlwMenuWidget mw)
#define BRIGHTNESS(color) (((color) & 0xff) + (((color) >> 8) & 0xff) + (((color) >> 16) & 0xff))
/* Allocate color for disabled menu-items. */
- mw->menu.disabled_foreground = mw->menu.foreground;
if (BRIGHTNESS(mw->menu.foreground) < BRIGHTNESS(mw->core.background_pixel))
scale = 2.3;
else