Changeset 3069
- Timestamp:
- 04/10/03 07:43:51 (6 years ago)
- Files:
-
- work/cvs2svn/src/ChangeLog.Meadow (modified) (4 diffs)
- work/cvs2svn/src/mw32term.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
work/cvs2svn/src/ChangeLog.Meadow
r3067 r3069 1 2003-04-10 MIYOSHI Masanori <miyoshi@boreas.dti.ne.jp> 2 3 * mw32term.c (mw32_draw_glyphs): Don't call 4 notice_overwritten_cursor(). 5 Simplify redundant expressions. 6 (mw32_draw_hollow_cursor): Enlarge a hollow box cursor. 7 1 8 2003-04-03 MIYOSHI Masanori <miyoshi@boreas.dti.ne.jp> 2 9 … … 40 47 41 48 * mw32font.c (Vmw32_windows_font_charset_database): Removed. 42 (mw32_windows_set_logical_font_from_char): Now it takes a Emacs char49 (mw32_windows_set_logical_font_from_char): Now it takes an Emacs char 43 50 not a charset of Windows LOGFONT. 44 (mw32_set_windows_logical_font): It takes a Emacs char as well, and51 (mw32_set_windows_logical_font): It takes an Emacs char as well, and 45 52 pass it to mw32_windows_set_logical_font_from_char. 46 53 (mw32_load_lf_from_lisp_object): Likewise, but pass it to … … 147 154 (Fmw32_mci_get_error_string): Likewise. 148 155 149 * mw32term.c (mw32_message_loop<MM_MCINOTIFY>): Simplify redund unt156 * mw32term.c (mw32_message_loop<MM_MCINOTIFY>): Simplify redundant 150 157 expressions, and avoid using kbd_buffer_store_event(). 151 158 … … 171 178 * termhooks.h (enum event_kind): Add mw32_mci_event. 172 179 173 * mw32term.c (mw32_message_loop): Generate a Emacs event when180 * mw32term.c (mw32_message_loop): Generate an Emacs event when 174 181 MM_MCINOTIFY is notified. 175 182 work/cvs2svn/src/mw32term.c
r3065 r3069 4960 4960 } 4961 4961 4962 /* The following codes cause the garbage at the cursor position. 4963 Farther investigation into these is needed. 4964 */ 4965 #if 0 4962 4966 if (area == TEXT_AREA 4963 4967 && !row->full_width_p … … 4973 4977 x1 = FRAME_TO_WINDOW_PIXEL_X (w, x1); 4974 4978 4975 if ( !row->full_width_p &&XFASTINT (w->left_margin_width) != 0)4979 if (XFASTINT (w->left_margin_width) != 0) 4976 4980 { 4977 4981 int left_area_width = window_box_width (w, LEFT_MARGIN_AREA); … … 4983 4987 row->y, MATRIX_ROW_BOTTOM_Y (row)); 4984 4988 } 4989 #endif 4985 4990 4986 4991 /* Value is the x-position up to which drawn, relative to AREA of W. … … 9103 9108 rectangle as wide as the glyph, but use a canonical character 9104 9109 width instead. */ 9105 wd = cursor_glyph->pixel_width - 1;9110 wd = cursor_glyph->pixel_width; 9106 9111 if (cursor_glyph->type == STRETCH_GLYPH 9107 9112 && !mw32_stretch_cursor_p) … … 9128 9133 SelectObject (hdc, hb); 9129 9134 mw32_clip_to_row (hdc, w, row, 0); 9130 Rectangle (hdc, x, y, x + wd - 1, y + h - 1);9135 Rectangle (hdc, x, y, x + wd, y + h); 9131 9136 RestoreDC (hdc, -1); 9132 9137 DeleteObject (hp); … … 9324 9329 9325 9330 mw32_clear_area (f, x, y, 9326 x + cursor_glyph->pixel_width - 1,9327 y + cursor_row->visible_height - 1);9331 x + cursor_glyph->pixel_width, 9332 y + cursor_row->visible_height); 9328 9333 } 9329 9334 … … 9469 9474 mw32_erase_phys_cursor (w); 9470 9475 9471 /* If the cursor is now invisible and we want it to be visible, 9472 display it. */ 9473 if (on && !w->phys_cursor_on_p) 9476 /* Don't check phys_cursor_on_p here because that flag is only set 9477 to zero in some cases where we know that the cursor has been 9478 completely erased, to avoid the extra work of erasing the cursor 9479 twice. In other words, phys_cursor_on_p can be 1 and the cursor 9480 still not be visible, or it has only been partly erased. */ 9481 if (on) 9474 9482 { 9475 9483 w->phys_cursor_ascent = glyph_row->ascent;
