comparison src/toolbar-x.c @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents e04119814345
children 360340f9fd5f
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
671 gcv.background = ef->core.background_pixel; 671 gcv.background = ef->core.background_pixel;
672 gcv.graphics_exposures = False; 672 gcv.graphics_exposures = False;
673 FRAME_X_TOOLBAR_BLANK_BACKGROUND_GC (f) = 673 FRAME_X_TOOLBAR_BLANK_BACKGROUND_GC (f) =
674 XtGetGC ((Widget) ef, flags, &gcv); 674 XtGetGC ((Widget) ef, flags, &gcv);
675 675
676 if (ef->emacs_frame.top_toolbar_shadow_pixel == 676 if (ef->emacs_frame.top_toolbar_shadow_pixel == -1)
677 ef->emacs_frame.bottom_toolbar_shadow_pixel)
678 { 677 {
679 ef->emacs_frame.top_toolbar_shadow_pixel = 678 ef->emacs_frame.top_toolbar_shadow_pixel =
680 ef->emacs_frame.background_toolbar_pixel; 679 ef->emacs_frame.background_toolbar_pixel;
680 }
681 if (ef->emacs_frame.bottom_toolbar_shadow_pixel == -1)
682 {
681 ef->emacs_frame.bottom_toolbar_shadow_pixel = 683 ef->emacs_frame.bottom_toolbar_shadow_pixel =
682 ef->emacs_frame.background_toolbar_pixel; 684 ef->emacs_frame.background_toolbar_pixel;
683 } 685 }
684 686
685 x_generate_shadow_pixels (f, &ef->emacs_frame.top_toolbar_shadow_pixel, 687 x_generate_shadow_pixels (f, &ef->emacs_frame.top_toolbar_shadow_pixel,