From: ayin Date: Sun, 17 Feb 2008 19:07:00 +0000 (+0000) Subject: Do not honour shadow value in plain/xterm styles. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=bb9d69d439d9ab2c3bb045542ef95c628670542b;p=dana%2Furxvt.git Do not honour shadow value in plain/xterm styles. --- diff --git a/src/scrollbar-plain.C b/src/scrollbar-plain.C index 2a9f8aa6..2de214fe 100644 --- a/src/scrollbar-plain.C +++ b/src/scrollbar-plain.C @@ -49,12 +49,12 @@ rxvt_term::scrollbar_show_plain (int update, int last_top, int last_bot, int scr { if (last_top < scrollBar.top) XClearArea (dpy, scrollBar.win, - scrollBar.shadow, last_top, + 0, last_top, sbwidth + 1, scrollBar.top - last_top, False); if (scrollBar.bot < last_bot) XClearArea (dpy, scrollBar.win, - scrollBar.shadow, scrollBar.bot, + 0, scrollBar.bot, sbwidth + 1, last_bot - scrollBar.bot, False); } else diff --git a/src/scrollbar-xterm.C b/src/scrollbar-xterm.C index a083e611..0c163d8b 100644 --- a/src/scrollbar-xterm.C +++ b/src/scrollbar-xterm.C @@ -65,12 +65,12 @@ rxvt_term::scrollbar_show_xterm (int update, int last_top, int last_bot, int scr { if (last_top < scrollBar.top) XClearArea (dpy, scrollBar.win, - scrollBar.shadow + xsb, last_top, + xsb, last_top, sbwidth, (scrollBar.top - last_top), False); if (scrollBar.bot < last_bot) XClearArea (dpy, scrollBar.win, - scrollBar.shadow + xsb, scrollBar.bot, + xsb, scrollBar.bot, sbwidth, (last_bot - scrollBar.bot), False); } else