/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1022 by kfstorm, Wed Jun 8 22:33:35 2005 UTC revision 1.1023 by jet, Fri Jun 10 05:31:44 2005 UTC
# Line 21523  note_mode_line_or_margin_highlight (wind Line 21523  note_mode_line_or_margin_highlight (wind
21523            int ignore;            int ignore;
21524    
21525            int vpos, hpos;            int vpos, hpos;
21526              
21527            b = Fprevious_single_property_change (make_number (charpos + 1),            b = Fprevious_single_property_change (make_number (charpos + 1),
21528                                                  Qmouse_face, string, Qnil);                                                  Qmouse_face, string, Qnil);
21529            if (NILP (b))            if (NILP (b))
# Line 21571  note_mode_line_or_margin_highlight (wind Line 21571  note_mode_line_or_margin_highlight (wind
21571            hpos = (area == ON_MODE_LINE            hpos = (area == ON_MODE_LINE
21572                    ? (w->current_matrix)->nrows - 1                    ? (w->current_matrix)->nrows - 1
21573                    : 0);                    : 0);
21574              
21575            /* If the re-rendering position is included in the last            /* If the re-rendering position is included in the last
21576               re-rendering area, we should do nothing. */               re-rendering area, we should do nothing. */
21577            if ( window == dpyinfo->mouse_face_window            if ( window == dpyinfo->mouse_face_window
# Line 21579  note_mode_line_or_margin_highlight (wind Line 21579  note_mode_line_or_margin_highlight (wind
21579                 && vpos < dpyinfo->mouse_face_end_col                 && vpos < dpyinfo->mouse_face_end_col
21580                 && dpyinfo->mouse_face_beg_row == hpos )                 && dpyinfo->mouse_face_beg_row == hpos )
21581              return;              return;
21582              
21583            if (clear_mouse_face (dpyinfo))            if (clear_mouse_face (dpyinfo))
21584              cursor = No_Cursor;              cursor = No_Cursor;
21585              
21586            dpyinfo->mouse_face_beg_col = vpos;            dpyinfo->mouse_face_beg_col = vpos;
21587            dpyinfo->mouse_face_beg_row = hpos;            dpyinfo->mouse_face_beg_row = hpos;
21588    
# Line 21607  note_mode_line_or_margin_highlight (wind Line 21607  note_mode_line_or_margin_highlight (wind
21607            if (NILP (pointer))            if (NILP (pointer))
21608              pointer = Qhand;              pointer = Qhand;
21609          }          }
21610          else if ((area == ON_MODE_LINE) || (area == ON_HEADER_LINE))
21611            clear_mouse_face (dpyinfo);
21612      }      }
   
21613    define_frame_cursor1 (f, cursor, pointer);    define_frame_cursor1 (f, cursor, pointer);
21614  }  }
21615    

Legend:
Removed from v.1.1022  
changed lines
  Added in v.1.1023

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26