/[emacs]/emacs/src/w32term.c
ViewVC logotype

Diff of /emacs/src/w32term.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.129 by kfstorm, Sat Dec 1 01:25:42 2001 UTC revision 1.130 by jasonr, Sat Dec 1 11:09:33 2001 UTC
# Line 8916  w32_read_socket (sd, bufp, numchars, exp Line 8916  w32_read_socket (sd, bufp, numchars, exp
8916            check_visibility = 1;            check_visibility = 1;
8917            break;            break;
8918    
8919            case WM_MOUSELEAVE:
8920              f = x_any_window_to_frame (dpyinfo, msg.msg.hwnd);
8921              if (f)
8922                {
8923                  if (f == dpyinfo->mouse_face_mouse_frame)
8924                    {
8925                      /* If we move outside the frame, then we're
8926                         certainly no longer on any text in the frame.  */
8927                      clear_mouse_face (dpyinfo);
8928                      dpyinfo->mouse_face_mouse_frame = 0;
8929                    }
8930    
8931                  /* Generate a nil HELP_EVENT to cancel a help-echo.
8932                     Do it only if there's something to cancel.
8933                     Otherwise, the startup message is cleared when
8934                     the mouse leaves the frame.  */
8935                  if (any_help_event_p)
8936                    {
8937                      Lisp_Object frame;
8938                      int n;
8939    
8940                      XSETFRAME (frame, f);
8941                      help_echo = Qnil;
8942                      n = gen_help_event (bufp, numchars,
8943                                          Qnil, frame, Qnil, Qnil, 0);
8944                      bufp += n, count += n, numchars -= n;
8945                    }
8946                }
8947              break;
8948                  
8949          case WM_SETFOCUS:          case WM_SETFOCUS:
8950            f = x_any_window_to_frame (dpyinfo, msg.msg.hwnd);            f = x_any_window_to_frame (dpyinfo, msg.msg.hwnd);
8951    

Legend:
Removed from v.1.129  
changed lines
  Added in v.1.130

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26