Clear mouse face during drag-and-drop
* src/xterm.c (handle_one_xevent): Clear mouse face during drag and drop, since note_mouse_highlight isn't called.
This commit is contained in:
parent
3287d4e32e
commit
937a011352
1 changed files with 8 additions and 0 deletions
|
@ -17022,6 +17022,10 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
xm_top_level_enter_message emsg;
|
||||
xm_drag_motion_message dmsg;
|
||||
|
||||
/* Always clear mouse face. */
|
||||
clear_mouse_face (hlinfo);
|
||||
hlinfo->mouse_face_hidden = true;
|
||||
|
||||
/* Sometimes the drag-and-drop operation starts with the
|
||||
pointer of a frame invisible due to input. Since
|
||||
motion events are ignored during that, make the pointer
|
||||
|
@ -18657,6 +18661,10 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
Window target, toplevel;
|
||||
int target_proto, motif_style;
|
||||
|
||||
/* Always clear mouse face. */
|
||||
clear_mouse_face (hlinfo);
|
||||
hlinfo->mouse_face_hidden = true;
|
||||
|
||||
/* Sometimes the drag-and-drop operation starts with the
|
||||
pointer of a frame invisible due to input. Since
|
||||
motion events are ignored during that, make the pointer
|
||||
|
|
Loading…
Add table
Reference in a new issue