From e09d1b44e83db50d0f8f45ff740dda9efc69bdde Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 30 Aug 2000 11:52:37 +0000 Subject: (XlwMenuSetValues): If the background color has changed, re-make the shadow-gcs too. --- lwlib/xlwmenu.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lwlib') diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index a5687d9de50..0ef65b518d3 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -1805,6 +1805,13 @@ XlwMenuSetValues (current, request, new) { 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++) -- cgit v1.2.1