changeset 57310:faf11ac7a9f5

(define_frame_cursor1): Do not change frame cursor while tracking/dragging mouse.
author Kim F. Storm <storm@cua.dk>
date Mon, 04 Oct 2004 13:52:26 +0000
parents d039bbffafbc
children 9b91ce7be8bc
files src/xdisp.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Oct 04 13:46:19 2004 +0000
+++ b/src/xdisp.c	Mon Oct 04 13:52:26 2004 +0000
@@ -215,6 +215,8 @@
 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 @@
      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))