Commit 562020fe authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(define_frame_cursor1): Do not change frame cursor

while tracking/dragging mouse.
parent cb639b8f
2004-10-04 Kim F. Storm <storm@cua.dk>
 
* xdisp.c (define_frame_cursor1): Do not change frame cursor
while tracking/dragging mouse.
(x_draw_vertical_border): Do not draw line if frame has scroll bars.
* window.c (coordinates_in_window): Relax check for cursor
on vertial border between mode lines.
(Fset_window_fringes): Do not allow negative widths.
......
......@@ -215,6 +215,8 @@ extern int pending_menu_activation;
extern int interrupt_input;
extern int command_loop_level;
 
extern Lisp_Object do_mouse_tracking;
extern int minibuffer_auto_raise;
extern Lisp_Object Vminibuffer_list;
 
......@@ -20764,6 +20766,10 @@ define_frame_cursor1 (f, cursor, pointer)
Cursor cursor;
Lisp_Object pointer;
{
/* Do not change cursor shape while dragging mouse. */
if (!NILP (do_mouse_tracking))
return;
if (!NILP (pointer))
{
if (EQ (pointer, Qarrow))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment