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

Diff of /emacs/src/xterm.c

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

revision 1.679 by rms, Mon Nov 5 00:14:12 2001 UTC revision 1.680 by rms, Mon Nov 12 05:35:02 2001 UTC
# Line 10669  XTread_socket (sd, bufp, numchars, expec Line 10669  XTread_socket (sd, bufp, numchars, expec
10669                {                {
10670                  f = x_any_window_to_frame (dpyinfo, event.xcrossing.window);                  f = x_any_window_to_frame (dpyinfo, event.xcrossing.window);
10671    
10672    #if 0
10673                  if (event.xcrossing.focus)                  if (event.xcrossing.focus)
10674                    {                    {
10675                      /* Avoid nasty pop/raise loops.  */                      /* Avoid nasty pop/raise loops.  */
# Line 10682  XTread_socket (sd, bufp, numchars, expec Line 10683  XTread_socket (sd, bufp, numchars, expec
10683                    }                    }
10684                  else if (f == dpyinfo->x_focus_frame)                  else if (f == dpyinfo->x_focus_frame)
10685                    x_new_focus_frame (dpyinfo, 0);                    x_new_focus_frame (dpyinfo, 0);
10686                  #endif
10687    
10688                  /* EnterNotify counts as mouse movement,                  /* EnterNotify counts as mouse movement,
10689                     so update things that depend on mouse position.  */                     so update things that depend on mouse position.  */
10690                  if (f && !f->output_data.x->hourglass_p)                  if (f && !f->output_data.x->hourglass_p)
# Line 10746  XTread_socket (sd, bufp, numchars, expec Line 10748  XTread_socket (sd, bufp, numchars, expec
10748                        bufp += n, count += n, numchars -= n;                        bufp += n, count += n, numchars -= n;
10749                      }                      }
10750    
10751    #if 0
10752                    if (event.xcrossing.focus)                    if (event.xcrossing.focus)
10753                      x_mouse_leave (dpyinfo);                      x_mouse_leave (dpyinfo);
10754                    else                    else
10755                      {                      {
10756                        if (f == dpyinfo->x_focus_event_frame)                        if (f == dpyinfo->x_focus_event_frame)
10757                          dpyinfo->x_focus_event_frame = 0;                          dpyinfo->x_focus_event_frame = 0;
10758                        if (f == dpyinfo->x_focus_frame)                        if (dpyinfo->x_focus_event_frame != 0
10759                              && f == dpyinfo->x_focus_frame)
10760                          x_new_focus_frame (dpyinfo, 0);                          x_new_focus_frame (dpyinfo, 0);
10761                      }                      }
10762    #endif
10763                  }                  }
10764                goto OTHER;                goto OTHER;
10765    
# Line 11516  x_display_and_set_cursor (w, on, hpos, v Line 11521  x_display_and_set_cursor (w, on, hpos, v
11521        if (f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame        if (f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame
11522            || w != XWINDOW (f->selected_window))            || w != XWINDOW (f->selected_window))
11523          {          {
11524            if (MINI_WINDOW_P (w)            if ((MINI_WINDOW_P (w) && minibuf_level == 0)
11525                || !cursor_non_selected                || !cursor_non_selected
11526                || NILP (XBUFFER (w->buffer)->cursor_type))                || NILP (XBUFFER (w->buffer)->cursor_type))
11527              new_cursor_type = NO_CURSOR;              new_cursor_type = NO_CURSOR;

Legend:
Removed from v.1.679  
changed lines
  Added in v.1.680

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