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

Comparing rxvt-unicode/src/scrollbar.C (file contents):
Revision 1.48 by ayin, Sun Jan 27 22:48:33 2008 UTC vs.
Revision 1.49 by ayin, Tue Jan 29 13:57:23 2008 UTC

36{ 36{
37 int change = 0; 37 int change = 0;
38 38
39 if (map) 39 if (map)
40 { 40 {
41 scrollBar.setIdle (); 41 scrollBar.state = STATE_IDLE;
42 42
43 if (!scrollBar.win) 43 if (!scrollBar.win)
44 resize_scrollbar (); 44 resize_scrollbar ();
45 45
46 if (scrollBar.win) 46 if (scrollBar.win)
158 scrollbar_minheight () + adj; 158 scrollbar_minheight () + adj;
159 scrollBar.bot = (scrollBar.top + scrollBar.len); 159 scrollBar.bot = (scrollBar.top + scrollBar.len);
160 /* no change */ 160 /* no change */
161 if (scrollBar.top == scrollBar.last_top 161 if (scrollBar.top == scrollBar.last_top
162 && scrollBar.bot == scrollBar.last_bot 162 && scrollBar.bot == scrollBar.last_bot
163 && (scrollBar.state == scrollBar.last_state || !scrollbar_isUpDn ())) 163 && (scrollBar.state == scrollBar.last_state
164 || !(scrollBar.state == STATE_UP || scrollBar.state == STATE_DOWN)))
164 return 0; 165 return 0;
165 } 166 }
166 167
167 ret = (this->*scrollBar.update) (update, scrollBar.last_top, scrollBar.last_bot, scrollBar.len); 168 ret = (this->*scrollBar.update) (update, scrollBar.last_top, scrollBar.last_bot, scrollBar.len);
168 169

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines