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.333 by sf-exg, Sun Jan 24 21:53:13 2010 UTC vs.
Revision 1.338 by sf-exg, Sat Apr 3 16:30:39 2010 UTC

1834 for (i = PART_BEG; i < RC_COUNT; i++) 1834 for (i = PART_BEG; i < RC_COUNT; i++)
1835 { 1835 {
1836 min_it (rc[i].col, ncol - 1); 1836 min_it (rc[i].col, ncol - 1);
1837 min_it (rc[i].row, nrow - 1); 1837 min_it (rc[i].row, nrow - 1);
1838 } 1838 }
1839// TODO: this line somehow causes segfault if scr_expose() is called just after resize 1839
1840 for (i = rc[PART_BEG].row; i <= rc[PART_END].row; i++) 1840 for (i = rc[PART_BEG].row; i <= rc[PART_END].row; i++)
1841 fill_text (&drawn_buf[i].t[rc[PART_BEG].col], 0, rc[PART_END].col - rc[PART_BEG].col + 1); 1841 fill_text (&drawn_buf[i].t[rc[PART_BEG].col], 0, rc[PART_END].col - rc[PART_BEG].col + 1);
1842 1842
1843 num_scr_allow = 0; 1843 num_scr_allow = 0;
1844 1844
2085 ccol2 = bgcolor_of (rstyle); 2085 ccol2 = bgcolor_of (rstyle);
2086#else 2086#else
2087 ccol2 = Color_bg; 2087 ccol2 = Color_bg;
2088#endif 2088#endif
2089 2089
2090 if (showcursor && focus) 2090 if (focus)
2091 { 2091 {
2092 if (option (Opt_cursorUnderline)) 2092 if (option (Opt_cursorUnderline))
2093 *crp ^= RS_Uline; 2093 *crp ^= RS_Uline;
2094 else 2094 else
2095 { 2095 {
2904 selection_wait = Sel_normal; 2904 selection_wait = Sel_normal;
2905 2905
2906#if X_HAVE_UTF8_STRING 2906#if X_HAVE_UTF8_STRING
2907 selection_type = Sel_UTF8String; 2907 selection_type = Sel_UTF8String;
2908 if (selection_request_other (xa[XA_UTF8_STRING], selnum)) 2908 if (selection_request_other (xa[XA_UTF8_STRING], selnum))
2909 return; 2909 return;
2910#else 2910#else
2911 selection_type = Sel_CompoundText; 2911 selection_type = Sel_CompoundText;
2912 if (selection_request_other (xa[XA_COMPOUND_TEXT], selnum)) 2912 if (selection_request_other (xa[XA_COMPOUND_TEXT], selnum))
2913 return; 2913 return;
2914#endif 2914#endif
2915 } 2915 }
2916 2916
2917 selection_wait = Sel_none; /* don't loop in selection_paste () */ 2917 selection_wait = Sel_none; /* don't loop in selection_paste () */
2918 selection_paste (display->root, XA_CUT_BUFFER0, false); 2918 selection_paste (display->root, XA_CUT_BUFFER0, false);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines