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

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.228 by root, Sun Jan 15 06:02:41 2006 UTC vs.
Revision 1.229 by root, Sun Jan 15 06:39:19 2006 UTC

1836bool 1836bool
1837rxvt_term::scr_changeview (int new_view_start) 1837rxvt_term::scr_changeview (int new_view_start)
1838{ 1838{
1839 clamp_it (new_view_start, top_row, 0); 1839 clamp_it (new_view_start, top_row, 0);
1840 1840
1841 if (new_view_start != view_start) 1841 if (new_view_start == view_start)
1842 {
1843 num_scr += new_view_start - view_start;
1844 view_start = new_view_start;
1845 HOOK_INVOKE ((this, HOOK_VIEW_CHANGE, DT_INT, view_start, DT_END));
1846 want_refresh = 1;
1847
1848 return true;
1849 }
1850 else
1851 return false; 1842 return false;
1843
1844 num_scr += new_view_start - view_start;
1845 view_start = new_view_start;
1846 HOOK_INVOKE ((this, HOOK_VIEW_CHANGE, DT_INT, view_start, DT_END));
1847 want_refresh = 1;
1848
1849 return true;
1852} 1850}
1853 1851
1854/* ------------------------------------------------------------------------- */ 1852/* ------------------------------------------------------------------------- */
1855void 1853void
1856rxvt_term::scr_bell () 1854rxvt_term::scr_bell ()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines