| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
get_window_cursor_type to track system caret.
|
| |
|
| |
|
|
|
|
|
|
|
| |
(x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH.
(x_display_and_set_cursor): Use get_window_cursor_type.
Remove unused local variables cursor_off_state.
Redraw cursor if hbar cursor width changes.
|
|
|
|
|
|
|
|
|
| |
and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off.
(x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH for bar cursor.
(expose_overlaps): New function.
(expose_window): Use it to fix the display of overlapping rows.
|
|
|
|
|
| |
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
|
| |
|
| |
|
|
|
|
|
| |
Handle the `hbar' cursor type.
(x_display_and_set_cursor): Handle the HBAR_CURSOR case.
|
|
|
|
| |
Enlarge cursor rectangle drawn around image with non-zero relief.
|
| |
|
| |
|
|
|
|
| |
(note_mouse_movement): Put code for x_autoselect_window_p in #if 0.
|
| |
|
| |
|
|
|
|
| |
correctly. Do not pass up_modifier to keyboard buffer.
|
|
|
|
|
| |
(w32_read_socket) <WM_XBUTTONUP>: Fix last change.
(syms_of_w32term): Define x-use-underline-position-properties.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
hollow box cursor. Blink bar cursor using 1 pixel wide bar.
|
| |
|
|
|
|
| |
Call ExtTextOutA rather than ExtTextOut.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(syms_of_w32term): DEFVAR_BOOL and initialize it.
(note_mouse_movement): Use it.
* w32term.c (x_check_fullscreen, x_check_fullscreen_move)
(x_fullscreen_adjust): New functions.
(w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to
fullscreen. Call x_check_fullscreen_move, and set the
want_fullscreen member of output_data.w32
<WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
|
|
|
|
|
|
|
|
| |
(note_mouse_highlight): Disable highlight if Vmouse_highlight is nil.
(show_mouse_face): Don't show highlight if mouse_face_hidden is set.
(w32_read_socket): Turn mouse_face_hidden off after mouse movement,
and on after keyboard input.
(w32_initialize_display_info): Initialize mouse_face_hidden.
|
| |
|
|
|
|
|
| |
If region left to draw is not what was expected, mark the frame as
garbaged.
|
|
|
|
|
|
|
| |
w32_use_visible_system_caret is set.
(x_update_window_end): Only show caret if
w32_use_visible_system_caret is set.
(syms_of_w32term): Handle SystemParametersInfo call failing.
|
|
|
|
|
|
|
|
|
|
| |
(w32_use_visible_system_caret): New user flag.
(syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether
Windows reports a screen reader running.
(x_update_window_begin): Hide the system caret.
(x_update_window_end): Show the system caret.
(x_display_and_set_cursor): Don't draw a cursor when
w32_use_visible_system_caret is set. Do not adjust width.
|
|
|
|
|
| |
that Windows returns. If a double check fails, try to guess how
ExtTextOut is going to act.
|
|
|
|
|
| |
is invisible. This can happen if cursor is on top line of a
window, and we switch to a buffer with a header line.
|
|
|
|
| |
(w32_read_socket): Handle new "XBUTTON" messages.
|
| |
|
|
|
|
| |
if OVERLAPS_P.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
background color if it doesn't have a Pixmap.
(notice_overwritten_cursor): Don't depend on
output_cursor and updated_area. Compare pixel coordinates with
window's cursor pixel coordinates.
(x_draw_glyphs, x_clear_end_of_line, show_mouse_face): Call
notice_overwritten_cursor with new arg list.
(show_mouse_face): Fix bug setting a row's mouse_face_p flag
unconditionally.
(x_draw_image_relief): Use predefined macro instead of
constant when the value of `tool_bar_button_relief' is negative.
(x_display_and_set_cursor): Fix PostMessage arg types.
|
| |
|
|
|
|
| |
and mouse face.
|
| |
|
|
|
|
| |
(w32_read_socket): Use EQ to compare frames.
|
|
|
|
|
| |
(w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip frames.
<WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(x_draw_bar_cursor): If the background color of the glyph under
the cursor equals the frame's cursor color, use the glyph's
foreground color for drawing the bar cursor.
(x_after_update_window_line): Clear internal border in different
circumstances.
(w32_set_vertical_scroll_bar): Check for width and height > 0.
(w32_draw_relief_rect): Correct relief by 1 pixel.
(x_set_glyph_string_background_width): Set
extends_to_end_of_line_p if the row's fill_line_p is set and
drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}.
(x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR
if cursor_in_non_selected_windows is false.
(show_mouse_face): Clean up. Recognize overwritten cursor
differently.
(x_draw_glyphs): Remove parameters REAL_START and REAL_END.
Notice if cursor gets overwritten.
(notice_overwritten_cursor): Renamed from
note_overwritten_text_cursor. Rewritten to take glyph widths
into account, and to take X positions as parameters.
(x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
around call to x_draw_glyphs.
(x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
`IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
color to use for image glyph reliefs.
(x_draw_image_relief): Accept zero tool_bar_button_relief.
(glyph_rect): Remove unused variable `area'.
|
|
|
|
|
|
|
|
| |
Comment fixes. Use renamed symbols.
(fringe_bitmap_type): Renamed from bitmap_type.
(NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
(w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap.
(x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
|
| |
|
|
|
|
| |
if cursor_glyph is NULL.
|
| |
|
|
|
|
| |
value of `cursor-in-non-selected-windows'.
|
|
|
|
|
|
|
| |
(w32_system_caret_height, w32_system_caret_x)
(w32_system_caret_y): New variables for tracking system caret.
(w32_initialize): Initialize them.
(x_display_and_set_cursor): Make system caret follow the active cursor.
|
|
|
|
| |
with additional argument.
|