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

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.412 by ayin, Sun Feb 17 11:13:11 2008 UTC vs.
Revision 1.413 by ayin, Sun Feb 17 12:11:56 2008 UTC

1645 &unused_root, &unused_child, 1645 &unused_root, &unused_child,
1646 &unused_root_x, &unused_root_y, 1646 &unused_root_x, &unused_root_y,
1647 &ev.xbutton.x, &ev.xbutton.y, 1647 &ev.xbutton.x, &ev.xbutton.y,
1648 &unused_mask); 1648 &unused_mask);
1649 scr_move_to (scrollbar_position (ev.xbutton.y) - csrO, 1649 scr_move_to (scrollbar_position (ev.xbutton.y) - csrO,
1650 scrollbar_size ()); 1650 scrollBar.size ());
1651 want_refresh = 1; 1651 want_refresh = 1;
1652 scrollbar_show (1); 1652 scrollbar_show (1);
1653 } 1653 }
1654 break; 1654 break;
1655 } 1655 }
2010 } 2010 }
2011 2011
2012 if (scrollBar.style == R_SB_XTERM 2012 if (scrollBar.style == R_SB_XTERM
2013 || scrollbar_above_slider (ev.y) 2013 || scrollbar_above_slider (ev.y)
2014 || scrollbar_below_slider (ev.y)) 2014 || scrollbar_below_slider (ev.y))
2015 scr_move_to (scrollbar_position (ev.y) - csrO, scrollbar_size ()); 2015 scr_move_to (scrollbar_position (ev.y) - csrO, scrollBar.size ());
2016 2016
2017 scrollBar.state = STATE_MOTION; 2017 scrollBar.state = STATE_MOTION;
2018 break; 2018 break;
2019 2019
2020 case Button1: 2020 case Button1:
2043 else 2043 else
2044 { 2044 {
2045 scr_page ((ev.button == Button1 ? DN : UP), 2045 scr_page ((ev.button == Button1 ? DN : UP),
2046 (nrow 2046 (nrow
2047 * scrollbar_position (ev.y) 2047 * scrollbar_position (ev.y)
2048 / scrollbar_size ())); 2048 / scrollBar.size ()));
2049 } 2049 }
2050 2050
2051 break; 2051 break;
2052 } 2052 }
2053 } 2053 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines