ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/misc.C
(Generate patch)

Comparing rxvt-unicode/src/misc.C (file contents):
Revision 1.33 by root, Mon Jan 16 15:00:20 2006 UTC vs.
Revision 1.34 by root, Mon Jan 16 16:19:19 2006 UTC

549void 549void
550rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h) 550rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h)
551{ 551{
552 int shadow; 552 int shadow;
553 553
554 shadow = (w == 0 || h == 0) ? 1 : MENU_SHADOW; 554 shadow = (w == 0 || h == 0) ? 1 : 2;
555 w += x - 1; 555 w += x - 1;
556 h += y - 1; 556 h += y - 1;
557 for (; shadow-- > 0; x++, y++, w--, h--) 557 for (; shadow-- > 0; x++, y++, w--, h--)
558 { 558 {
559 XDrawLine (display, win, topShadow, x, y, w, y); 559 XDrawLine (display, win, topShadow, x, y, w, y);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines