Mercurial > emacs
changeset 31287:c37c79e6a6e7
(XlwMenuSetValues):
If the background color has changed, re-make the shadow-gcs too.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 30 Aug 2000 11:52:37 +0000 |
parents | 62621544edd2 |
children | 84df0ccd61c0 |
files | lwlib/xlwmenu.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lwlib/xlwmenu.c Wed Aug 30 07:56:36 2000 +0000 +++ b/lwlib/xlwmenu.c Wed Aug 30 11:52:37 2000 +0000 @@ -1805,6 +1805,13 @@ { release_drawing_gcs (newmw); make_drawing_gcs (newmw); + + release_shadow_gcs (newmw); + /* Cause the shadow colors to be recalculated. */ + newmw->menu.top_shadow_color = -1; + newmw->menu.bottom_shadow_color = -1; + make_shadow_gcs (newmw); + redisplay = True; for (i = 0; i < oldmw->menu.windows_length; i++)