mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 13:27:36 +00:00
Fix cursor appearance in note_mouse_highlight (Bug#16647).
* xdisp.c (note_mouse_highlight): When entering a margin area show a non-text cursor (Bug#16647).
This commit is contained in:
parent
451ea3e6cc
commit
fa49abf8bf
2 changed files with 14 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2014-02-05 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* xdisp.c (note_mouse_highlight): When entering a margin area show
|
||||
a non-text cursor (Bug#16647).
|
||||
|
||||
2014-02-04 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'.
|
||||
|
|
|
|||
10
src/xdisp.c
10
src/xdisp.c
|
|
@ -28568,7 +28568,15 @@ note_mouse_highlight (struct frame *f, int x, int y)
|
|||
|| part == ON_LEFT_MARGIN || part == ON_RIGHT_MARGIN)
|
||||
{
|
||||
note_mode_line_or_margin_highlight (window, x, y, part);
|
||||
return;
|
||||
|
||||
if (part == ON_LEFT_MARGIN || part == ON_RIGHT_MARGIN)
|
||||
{
|
||||
cursor = FRAME_X_OUTPUT (f)->nontext_cursor;
|
||||
/* Sho non-text cursor (Bug#16647). */
|
||||
goto set_cursor;
|
||||
}
|
||||
else
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
|
|
|
|||
Loading…
Reference in a new issue