changeset 27937:da3a30362526

Bring up to date with xterm.c changes of 2000-02-24 and 2000-02-25.
author Jason Rumney <jasonr@gnu.org>
date Wed, 01 Mar 2000 21:09:34 +0000
parents 4c1ad68f8688
children 8c36288a409c
files src/w32term.c
diffstat 1 files changed, 3 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Wed Mar 01 21:05:52 2000 +0000
+++ b/src/w32term.c	Wed Mar 01 21:09:34 2000 +0000
@@ -171,7 +171,6 @@
 #define CP_DEFAULT 1004
 
 extern unsigned int msh_mousewheel;
-extern int inhibit_busy_cursor;
 
 extern void free_frame_menubar ();
 
@@ -7739,9 +7738,6 @@
 	      bufp++;
 	      numchars--;
 	      count++;
-              if (display_busy_cursor_p)
-                if (bufp->code != VK_RETURN || minibuf_level == 0)
-                  inhibit_busy_cursor = 2;
 	    }
 	  break;
 
@@ -7762,9 +7758,6 @@
 	      bufp++;
 	      numchars--;
 	      count++;
-              if (display_busy_cursor_p)
-                if (bufp->code != VK_RETURN || minibuf_level == 0)
-                  inhibit_busy_cursor = 2;
 	    }
 	  break;
 
@@ -7882,8 +7875,6 @@
 
                 if (!tool_bar_p)
                   last_tool_bar_item = -1;
-                if (display_busy_cursor_p)
-                  inhibit_busy_cursor = 2;
 	      }
 	    break;
 	  }
@@ -8631,7 +8622,9 @@
       if (w != XWINDOW (selected_window)
           || f != FRAME_W32_DISPLAY_INFO (f)->w32_highlight_frame)
         {
-          if (MINI_WINDOW_P (w))
+	  extern int cursor_in_non_selected_windows;
+
+          if (MINI_WINDOW_P (w) || !cursor_in_non_selected_windows)
             new_cursor_type = NO_CURSOR;
           else
             new_cursor_type = HOLLOW_BOX_CURSOR;