From f6dcd63226453c7bae751ce9af41236044d76e25 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Mon, 3 Aug 1998 06:42:31 +0000 Subject: [PATCH] Change top/bottom shadow change detection order. yes, im anal. --- cmd/xfe/XfeWidgets/Xfe/Label.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/cmd/xfe/XfeWidgets/Xfe/Label.c b/cmd/xfe/XfeWidgets/Xfe/Label.c index 78e2be88ee9d..4af7f7e9d59e 100644 --- a/cmd/xfe/XfeWidgets/Xfe/Label.c +++ b/cmd/xfe/XfeWidgets/Xfe/Label.c @@ -467,17 +467,6 @@ SetValues(Widget ow,Widget rw,Widget nw,ArgList args,Cardinal *nargs) _XfeConfigFlags(nw) |= XfeConfigExpose; } - /* top_shadow_color */ - if (_XfeTopShadowColor(nw) != _XfeTopShadowColor(ow)) - { - insensitive_top_gc_flag = True; - - if (!_XfeIsSensitive(nw)) - { - _XfeConfigFlags(nw) |= XfeConfigExpose; - } - } - /* bottom_shadow_color */ if (_XfeBottomShadowColor(nw) != _XfeBottomShadowColor(ow)) { @@ -490,6 +479,17 @@ SetValues(Widget ow,Widget rw,Widget nw,ArgList args,Cardinal *nargs) } + /* top_shadow_color */ + if (_XfeTopShadowColor(nw) != _XfeTopShadowColor(ow)) + { + insensitive_top_gc_flag = True; + + if (!_XfeIsSensitive(nw)) + { + _XfeConfigFlags(nw) |= XfeConfigExpose; + } + } + /* label_alignment */ if (np->label_alignment != op->label_alignment) {