From c2f3a3aa2665a98af7a98df1e11447dfbf48d426 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Jan 2006 19:11:43 +0000 Subject: [PATCH] *** empty log message *** --- src/command.C | 1 - src/init.C | 1 + src/main.C | 1 + src/scrollbar-plain.C | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/command.C b/src/command.C index 3a6068f3..993f8e7f 100644 --- a/src/command.C +++ b/src/command.C @@ -3574,7 +3574,6 @@ rxvt_term::process_window_ops (const int *args, unsigned int nargs) (unsigned int) (args[1] * fheight)); break; - /* * reports - some output format copied from XTerm */ diff --git a/src/init.C b/src/init.C index c299ba47..ec436b91 100644 --- a/src/init.C +++ b/src/init.C @@ -423,6 +423,7 @@ rxvt_term::init_resources (int argc, const char *const *argv) { if (!rs[Rs_color + Color_fg]) rs[Rs_color + Color_fg] = def_colorName[Color_bg]; + if (!rs[Rs_color + Color_bg]) rs[Rs_color + Color_bg] = def_colorName[Color_fg]; } diff --git a/src/main.C b/src/main.C index 4a374ed0..6de57b82 100644 --- a/src/main.C +++ b/src/main.C @@ -693,6 +693,7 @@ rxvt_term::window_calc (unsigned int newwidth, unsigned int newheight) { sb_w = scrollbar_TotalWidth (); szHint.base_width += sb_w; + if (!OPTION (Opt_scrollBar_right)) window_vt_x += sb_w; } diff --git a/src/scrollbar-plain.C b/src/scrollbar-plain.C index 06e9d0db..df9ab065 100644 --- a/src/scrollbar-plain.C +++ b/src/scrollbar-plain.C @@ -63,7 +63,7 @@ rxvt_term::scrollbar_show_plain (int update, int last_top, int last_bot, int scr /* scrollbar slider */ XFillRectangle (xdisp, scrollBar.win, pscrollbarGC, - xsb + 1, scrollBar.top, sbwidth, scrollbar_len); + 1 - xsb, scrollBar.top, sbwidth, scrollbar_len); return 1; } -- 2.34.1