Changeset 3036
- Timestamp:
- 03/04/03 21:52:18 (6 years ago)
- Files:
-
- work/cvs2svn/src/ChangeLog.Meadow (modified) (1 diff)
- work/cvs2svn/src/mw32term.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
work/cvs2svn/src/ChangeLog.Meadow
r3035 r3036 4 4 reserved for scroll bars on the frame. These codes were imported 5 5 from Emacs-21.2. 6 (mw32_draw_glyphs): Notice when the text cursor of window W has 7 been completely overwritten by a drawing operation. 8 (mw32_draw_phys_cursor_glyph): Keep w->phys_cursor_on_p and 9 restore it after mw32_draw_glyphs(). 6 10 7 11 2003-03-02 MIYASHITA Hisashi <himi@meadowy.org> work/cvs2svn/src/mw32term.c
r3035 r3036 4974 4974 } 4975 4975 4976 if (area == TEXT_AREA 4977 && !row->full_width_p 4978 /* When drawing overlapping rows, only the glyph strings' 4979 foreground is drawn, which doesn't erase a cursor 4980 completely. */ 4981 && !overlaps_p) 4982 { 4983 int x0 = head ? head->x : x; 4984 int x1 = tail ? tail->x + tail->background_width : x; 4985 4986 x0 = FRAME_TO_WINDOW_PIXEL_X (w, x0); 4987 x1 = FRAME_TO_WINDOW_PIXEL_X (w, x1); 4988 4989 if (XFASTINT (w->left_margin_width) != 0) 4990 { 4991 int left_area_width = window_box_width (w, LEFT_MARGIN_AREA); 4992 x0 -= left_area_width; 4993 x1 -= left_area_width; 4994 } 4995 if (updated_area == TEXT_AREA 4996 && w->phys_cursor_on_p 4997 && output_cursor.vpos == w->phys_cursor.vpos 4998 && x0 <= w->phys_cursor.x 4999 && (x1 < 0 || x1 > w->phys_cursor.x)) 5000 w->phys_cursor_on_p = 0; 5001 } 5002 4976 5003 /* Value is the x-position up to which drawn, relative to AREA of W. 4977 5004 This doesn't include parts drawn because of overhangs. */ … … 9170 9197 if (w->phys_cursor.hpos < row->used[TEXT_AREA]) 9171 9198 { 9199 int on_p = w->phys_cursor_on_p; 9200 9172 9201 mw32_draw_glyphs (w, w->phys_cursor.x, row, TEXT_AREA, 9173 9202 w->phys_cursor.hpos, w->phys_cursor.hpos + 1, 9174 hl, 0, 0, 0); 9175 9203 hl, 0, 0, 0); 9204 w->phys_cursor_on_p = on_p; 9205 9176 9206 /* When we erase the cursor, and ROW is overlapped by other 9177 9207 rows, make sure that these overlapping parts of other rows
